diff --git a/src/test_libexim-encrypt-dlfunc-decrypt-secretbox.sh b/src/test_libexim-encrypt-dlfunc-decrypt-secretbox.sh index 0c52601..08de2f2 100755 --- a/src/test_libexim-encrypt-dlfunc-decrypt-secretbox.sh +++ b/src/test_libexim-encrypt-dlfunc-decrypt-secretbox.sh @@ -26,6 +26,8 @@ DECRYPTED02="$(LIBEXIM_PASSWORD="${TEST_PASSWORD}" src/libexim-encrypt-dlfunc-de if [ "${DECRYPTED02}" == "${TEST_CLEARTEXT}" ] ; then echo "ok 2 - decrypt file contents with password from environment successful" else + echo "${CIPHERTEXT_FILE01}" + cat "${CIPHERTEXT_FILE01}" echo "not ok 2 - decrypt file contents with password from environment unsuccessful" fi unset LIBEXIM_PASSWORD @@ -41,5 +43,7 @@ DECRYPTED04="$(src/libexim-encrypt-dlfunc-decrypt-secretbox -p ${TEST_PASSWORD} if [ "${DECRYPTED04}" == "${TEST_CLEARTEXT}" ] ; then echo "ok 4 - decrypt file contents with password from commandline successful" else + echo "${CIPHERTEXT_FILE02}" + cat "${CIPHERTEXT_FILE02}" echo "not ok 4 - decrypt file contents with password from commandline unsuccessful" fi \ No newline at end of file