Skip to content

Commit

Permalink
Skip test if keyctl is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Rosenkranz committed Feb 18, 2024
1 parent a6d9dc0 commit 91c1d22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/luks2-reencryption-test
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,7 @@ function setup_luks2_env() {
echo $PWD1 | $CRYPTSETUP open $DEV $DEV_NAME || fail
local check_keyring=$($CRYPTSETUP status $DEV_NAME | grep "key location: keyring")
if [ -n "$check_keyring" ]; then
bin_check keyctl
HAVE_KEYRING=1
prepare_vk_keyring
fi
Expand Down

0 comments on commit 91c1d22

Please sign in to comment.