Whamcloud - gitweb
LU-11604 tests: fix ACL-printing tests
[tools/e2fsprogs.git] / tests / test_post
1 #!/bin/sh
2 # report stats about test scripts that were run
3
4 num_ok=`ls *.ok 2>/dev/null | wc -l`
5 num_failed=`ls *.failed 2>/dev/null | wc -l`
6
7 echo "$num_ok tests succeeded   $num_failed tests failed"
8
9 test "$num_failed" -eq 0 && exit 0
10
11 echo -n "Tests failed: "
12 for fname in $(ls *.failed); do
13         echo "${fname%%.failed} "
14         cat $fname
15 done
16 echo ""
17
18 exit 1