tests: tests.sh counts errors
authorJean Privat <jean@pryen.org>
Mon, 6 Jul 2009 17:29:48 +0000 (13:29 -0400)
committerJean Privat <jean@pryen.org>
Mon, 6 Jul 2009 17:29:48 +0000 (13:29 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

tests/tests.sh

index 607b690..9effde9 100755 (executable)
@@ -178,7 +178,7 @@ echo "ok: " `echo $ok | wc -w` "/" `echo $ok $nok $nos | wc -w`
 
 if [ -n "$nok" ]; then
        echo "fail: $nok"
-       echo "There were errors ! (see file $ERRLIST)"
+       echo "There were $(echo $nok | wc -w) errors ! (see file $ERRLIST)"
 fi
 if [ -n "$nos" ]; then
        echo "no sav: $nos"