aosp12/external/e2fsprogs/tests/test_post

18 lines
343 B
Plaintext
Raw Normal View History

2023-01-09 17:11:35 +08:00
#!/bin/sh
# report stats about test scripts that were run
num_ok=`ls *.ok 2>/dev/null | wc -l`
num_failed=`ls *.failed 2>/dev/null | wc -l`
echo "$num_ok tests succeeded $num_failed tests failed"
test "$num_failed" -eq 0 && exit 0
echo -n "Tests failed: "
for fname in $(ls *.failed); do
echo -n "${fname%%.failed} "
done
echo ""
exit 1