Skip to content

Commit

Permalink
Drop redundant --dbpath from --exportdb/--importdb test
Browse files Browse the repository at this point in the history
run() overrides --dbpath so this hasn't been actually used at all. Nor
is it needed - the underlying image is mounted read-only at this point
as per the comment.
  • Loading branch information
pmatilai committed Nov 18, 2024
1 parent 9f6c97b commit 5834541
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rpmdb.at
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ AT_KEYWORDS([rpmdb])

# This needs to run *without* RPMDB_INIT to test behavior on read-only mount
RPMTEST_CHECK([
rpmdb --exportdb --dbpath ${RPMTEST}/data/misc/ > rdonly.list
rpmdb --exportdb > rdonly.list
test -s rdonly.list
],
[0],
Expand Down

0 comments on commit 5834541

Please sign in to comment.