diff options
| author | Eric Biggers <ebiggers@google.com> | 2021-12-23 11:39:08 -0600 |
|---|---|---|
| committer | Eric Biggers <ebiggers@google.com> | 2021-12-23 11:39:08 -0600 |
| commit | 57be034ce4700fb07c10b771628c1c63d8483d09 (patch) | |
| tree | 2e9bdfeb26f0d7379c6b6b4186125bd348982ee2 /cli-tests/t_change_passphrase.sh | |
| parent | 6ec8ee00398c435aba7cbb68f8246c1772e12908 (diff) | |
cli-tests: add helper functions to get protector descriptors
Diffstat (limited to 'cli-tests/t_change_passphrase.sh')
| -rwxr-xr-x | cli-tests/t_change_passphrase.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-tests/t_change_passphrase.sh b/cli-tests/t_change_passphrase.sh index 204512d..1360bc2 100755 --- a/cli-tests/t_change_passphrase.sh +++ b/cli-tests/t_change_passphrase.sh @@ -14,7 +14,7 @@ echo pass1 | fscrypt encrypt --quiet --name=prot --skip-unlock "$dir" _print_header "Try to unlock with wrong passphrase" _expect_failure "echo pass2 | fscrypt unlock --quiet '$dir'" _expect_failure "mkdir '$dir/subdir'" -protector=$(fscrypt status "$dir" | awk '/custom protector/{print $1}') +protector=$(_get_protector_descriptor "$dir" custom prot) _print_header "Change passphrase" echo $'pass1\npass2' | \ |