aboutsummaryrefslogtreecommitdiff
path: root/cli-tests
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-01-19 11:11:53 -0800
committerGitHub <noreply@github.com>2022-01-19 11:11:53 -0800
commit8f619f9478ef5d3d616908bd2b30cb85d8034020 (patch)
tree167a3a68d6abbd63eb8cb75c8e40623cba644314 /cli-tests
parentfac30865c04de8f4698776e94dd86c7a88fd5da2 (diff)
parent6eb31650b4dc42cd0a40a962a0d513eeb827d9f5 (diff)
Merge pull request #341 from google/fix-test
cli-tests: fix broken test
Diffstat (limited to 'cli-tests')
-rwxr-xr-xcli-tests/t_encrypt_login.sh2
1 files changed, 1 insertions, 1 deletions
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"