2 # report stats about test scripts that were run
4 num_ok
=`ls *.ok 2>/dev/null | wc -l`
5 num_failed
=`ls *.failed 2>/dev/null | wc -l`
7 echo "$num_ok tests succeeded $num_failed tests failed"
9 test "$num_failed" -eq 0 && exit 0
11 echo -n "Tests failed: "
12 for fname
in $
(ls *.failed
); do
13 echo -n "${fname%%.failed} "