adns_errabbrev; regress/checkall prints summary list of failed tests;
[adns] / regress / checkall
index 2191ae2..9412247 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-allok=true
+failed=''
 
 for f in case-*.sys
 do
@@ -10,20 +10,21 @@ do
                :
        else
                echo
-               allok=false
+               failed="$failed $case"
                echo
        fi
 done
 
-if $allok
+if [ "x$failed" = x ]
 then
        echo "
 all tests passed."
        exit 0
 fi
 
-echo >&2 '
+echo >&2 "
 AT LEAST ONE TEST FAILED
-'
+$failed
+"
 
 exit 1