Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ebiggers committed Nov 7, 2020
1 parent 438564b commit 427453b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cli-tests/t_change_passphrase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ echo pass2 | fscrypt unlock --quiet "$dir"
mkdir "$dir/subdir"
rmdir "$dir/subdir"

# XXX: the following is needed to make the change-passphrase command below
# recognize stdin as a terminal on Travis CI -- why?
readlink /proc/self/fd/0 > /dev/null
expect > /dev/null << EOF
spawn readlink /proc/self/fd/0
EOF

_print_header "Try to change passphrase (interactively, mismatch)"
expect << EOF
spawn fscrypt metadata change-passphrase --protector=$MNT:$protector
Expand Down

0 comments on commit 427453b

Please sign in to comment.