testsuite: show the number of failures after a test run

Signed-off-by: Dan Fandrich <dan@coneharvesters.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Dan Fandrich
2010-08-29 04:47:03 +02:00
committed by Denys Vlasenko
parent 91234b9be0
commit 140ac91fe1
4 changed files with 21 additions and 2 deletions

View File

@@ -29,3 +29,5 @@ testing "readlink -f on a wierd dir" "readlink -f $TESTDIR/../$TESTFILE" "$PWD/$
# clean up
rm -r "$TESTLINK" "$TESTDIR"
exit $((FAILCOUNT <= 255 ? FAILCOUNT : 255))