Skip to content

Commit

Permalink
tests: Fix expected output
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
  • Loading branch information
Jakuje committed Nov 28, 2023
1 parent d994cc2 commit 8b34fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/tbasic
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ output=$(expect -c "spawn -noecho $CHECKER openssl pkey -in \"${PRIURI}\" -text
expect \"Key ID:\";")
echo "$output" | grep "Enter pass phrase for PKCS#11 Token (Slot .*):" > /dev/null 2>&1 || FAIL=1
if [ $FAIL -eq 0 ]; then
echo "$output" | grep "PKCS11 RSA Public Key" > /dev/null 2>&1 || FAIL=2
echo "$output" | grep "PKCS11 RSA Private Key" > /dev/null 2>&1 || FAIL=2
fi
if [ $FAIL -eq 1 ]; then
echo "Failed to obtain expected prompt"
Expand Down

0 comments on commit 8b34fcd

Please sign in to comment.