Skip to content

Commit

Permalink
fixup! Run all signing tests with runroot since we now can
Browse files Browse the repository at this point in the history
  • Loading branch information
dmnks committed Nov 6, 2024
1 parent a3224a4 commit 4f29655
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/atlocal.in
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ snapshot()
exec)
bwrap --unshare-pid --dev-bind $RPMTEST / --clearenv \
--setenv PATH $(env -i sh -c 'echo $PATH') \
--setenv HOME /root --chdir / --dev /dev --proc /proc \
--setenv GPG_TTY "" \
--die-with-parent "$@"
--setenv HOME /root \
--setenv GPG_TTY "" \
--chdir / --dev /dev --proc /proc --die-with-parent "$@"
;;
shell)
local source=$(findmnt -no SOURCE --mountpoint $RPMTEST)
Expand Down
2 changes: 1 addition & 1 deletion tests/rpmsigdig.at
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ ORIG="/data/RPMS/hello-2.0-1.x86_64.rpm"
NEW="/tmp/hello-2.0-1.x86_64.rpm"

runroot_other cp ${ORIG} /tmp/
runroot rpmsign --key-id 4344591E1964C5FC --addsign /tmp/hello-2.0-1.x86_64.rpm
runroot rpmsign --key-id 4344591E1964C5FC --addsign ${NEW}
runroot_other cmp -s ${ORIG} ${NEW}; echo $?
runroot rpmsign --delsign ${NEW}
runroot_other cmp -s ${ORIG} ${NEW}; echo $?
Expand Down

0 comments on commit 4f29655

Please sign in to comment.