summaryrefslogtreecommitdiff
path: root/TestScripts
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2022-02-15 06:36:00 -0500
committerJeffrey Walton <noloader@gmail.com>2022-02-15 06:36:00 -0500
commit14cfaeba6a32aa50f50f4c310cb541e05f332c23 (patch)
tree83b5f754a7eabceebd6bad96d6a7a7a1b69e64c3 /TestScripts
parent857a5424636d65b486f328f5565c47c3247f2fce (diff)
downloadcryptopp-git-14cfaeba6a32aa50f50f4c310cb541e05f332c23.tar.gz
Update cryptest.sh script
Diffstat (limited to 'TestScripts')
-rwxr-xr-xTestScripts/cryptest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/TestScripts/cryptest.sh b/TestScripts/cryptest.sh
index 1e034f86..6b726245 100755
--- a/TestScripts/cryptest.sh
+++ b/TestScripts/cryptest.sh
@@ -7946,7 +7946,7 @@ if (( "$COUNT" == "0" )); then
echo "No failed tests" | tee -a "$TEST_RESULTS"
else
echo "$COUNT failed tests" | tee -a "$TEST_RESULTS"
- for TEST in "${TEST_LIST[@]}"
+ for TEST in "${FAILED_LIST[@]}"
do
echo " - $TEST" | tee -a "$TEST_RESULTS"
done
@@ -7981,7 +7981,7 @@ echo
############################################
# http://tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF
-if (( "$ECOUNT" == "0" )); then
+if (( "${#FAILED_LIST[@]}" == "0" )); then
exit 0
else
exit 1