diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-15 22:39:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:48 -0500 |
commit | d6c128fb4c0d0f5368aa9729d1e4bb8005b909c6 (patch) | |
tree | 6f10dccd5e0ab5930cb7fb91dda39aed4727d113 /source4/script/tests/selftest.sh | |
parent | 1ce5df6c724f8d943b9c32c23f9e8e551630ac4a (diff) | |
download | samba-d6c128fb4c0d0f5368aa9729d1e4bb8005b909c6.tar.gz samba-d6c128fb4c0d0f5368aa9729d1e4bb8005b909c6.tar.bz2 samba-d6c128fb4c0d0f5368aa9729d1e4bb8005b909c6.zip |
r18571: try to make it a lot more obvious when 'make test' or 'make quicktest'
has failed. The output was too subtle for people who aren't used to
it.
(This used to be commit a57decb96aee05d3238b64d50a136c8b8001f811)
Diffstat (limited to 'source4/script/tests/selftest.sh')
-rwxr-xr-x | source4/script/tests/selftest.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/script/tests/selftest.sh b/source4/script/tests/selftest.sh index 5b62af08a9..a8acb823a9 100755 --- a/source4/script/tests/selftest.sh +++ b/source4/script/tests/selftest.sh @@ -107,8 +107,10 @@ START=`date` bin/nmblookup $CONFIGURATION -U $SERVER $NETBIOSNAME # start off with 0 failures - failed=0 - export failed +failed=0 +export failed +totalfailed=0 +export totalfailed . script/tests/tests_$TESTS.sh exit $failed @@ -137,4 +139,4 @@ if [ "$count" != 0 ]; then done fi -teststatus $ARG0 $failed +teststatus $ARG0 $totalfailed |