diff --git a/tests/trsapssam b/tests/trsapssam index 7594024c..7a3c05a8 100755 --- a/tests/trsapssam +++ b/tests/trsapssam @@ -55,6 +55,7 @@ FAIL=0 echo "$output" | grep "mechanism not allowed with this key" > /dev/null 2>&1 || FAIL=1 if [ $FAIL -ne 0 ]; then echo "Signature seem to have failed for unrelated reasons" + echo $output; exit 1 fi @@ -82,5 +83,6 @@ FAIL=0 echo "$output" | grep "An invalid mechanism was specified to the cryptographic operation" > /dev/null 2>&1 || FAIL=1 if [ $FAIL -ne 0 ]; then echo "Signature seem to have failed for unrelated reasons" + echo $output; exit 1 fi