From 6eb31650b4dc42cd0a40a962a0d513eeb827d9f5 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Wed, 19 Jan 2022 11:07:00 -0800 Subject: cli-tests: fix broken test I'm not sure how this passed the GitHub checks. --- cli-tests/t_encrypt_login.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli-tests') diff --git a/cli-tests/t_encrypt_login.sh b/cli-tests/t_encrypt_login.sh index 5085068..225a47d 100755 --- a/cli-tests/t_encrypt_login.sh +++ b/cli-tests/t_encrypt_login.sh @@ -89,7 +89,7 @@ show_status false begin "Test that linked protector works even if UUID link is broken" echo TEST_USER_PASS | fscrypt encrypt --quiet --source=pam_passphrase --user="$TEST_USER" "$dir" -protector=$(get_login_protector) +protector=$(_get_login_descriptor) link_file=$MNT/.fscrypt/protectors/$protector.link [ -e "$link_file" ] || _fail "$link_file does not exist" sed -i 's/UUID=.*/UUID=00000000-0000-0000-0000-000000000000/' "$link_file" -- cgit v1.2.3