tests: update expect file for u_direct_io
[e2fsprogs.git] / tests / test_post
blob12512663120ef769acad668976dae63e278885c3
1 #!/bin/sh
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} "
14 done
15 echo ""
17 exit 1