diff options
Diffstat (limited to 'tests/testEnc.sh')
-rwxr-xr-x | tests/testEnc.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/testEnc.sh b/tests/testEnc.sh index 54d1ca81..9970e33b 100755 --- a/tests/testEnc.sh +++ b/tests/testEnc.sh @@ -366,15 +366,17 @@ execEncTest $res_success \ # test dynamicencryption # ########################################################################## +if [ -n "$XMLSEC_TEST_NAME" -a "$XMLSEC_TEST_NAME" = "enc-dynamic" ]; then echo "Dynamic encryption template" printf " Encrypt template " -echo "$xmlsec_app encrypt-tmpl $xmlsec_params --keys-file $keysfile --output $tmpfile" >> $logfile +echo "$VALGRIND $xmlsec_app encrypt-tmpl $xmlsec_params --keys-file $keysfile --output $tmpfile" >> $logfile $VALGRIND $xmlsec_app encrypt-tmpl $xmlsec_params --keys-file $keysfile --output $tmpfile >> $logfile 2>> $logfile printRes $res_success $? printf " Decrypt document " -echo "$xmlsec_app decrypt $xmlsec_params $keysfile $tmpfile" >> $logfile +echo "$VALGRIND $xmlsec_app decrypt $xmlsec_params $keysfile $tmpfile" >> $logfile $VALGRIND $xmlsec_app decrypt $xmlsec_params --keys-file $keysfile $tmpfile >> $logfile 2>> $logfile printRes $res_success $? +fi ########################################################################## |