From 8b34fcd85727fe0affa56d10b5acda9f9b9a974e Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Tue, 28 Nov 2023 15:47:28 +0100 Subject: [PATCH] tests: Fix expected output Signed-off-by: Jakub Jelen --- tests/tbasic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tbasic b/tests/tbasic index 680e311e..94d24dfb 100755 --- a/tests/tbasic +++ b/tests/tbasic @@ -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"