From 0d734644f498bf820b4147e1842509218e11c461 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Mon, 6 Jul 2009 13:29:48 -0400 Subject: [PATCH] tests: tests.sh counts errors Signed-off-by: Jean Privat --- tests/tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.sh b/tests/tests.sh index 607b690..9effde9 100755 --- a/tests/tests.sh +++ b/tests/tests.sh @@ -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" -- 1.7.9.5