Whamcloud - gitweb
test_script.in: Make the test script driver exit with a non-zero
authorTheodore Ts'o <tytso@mit.edu>
Sat, 9 Apr 2005 05:26:49 +0000 (01:26 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 9 Apr 2005 05:26:49 +0000 (01:26 -0400)
status if there are any failed tests.

tests/ChangeLog
tests/test_script.in

index 6a6d050..fad3aa3 100644 (file)
@@ -1,3 +1,8 @@
+2005-04-09  Theodore Ts'o  <tytso@mit.edu>
+
+       * test_script.in: Make the test script driver exit with a non-zero
+               status if there are any failed tests.
+
 2005-03-21  Theodore Ts'o  <tytso@mit.edu>
 
        * Release of E2fsprogs 1.37
index b8d72cc..72f6332 100644 (file)
@@ -59,3 +59,4 @@ num_failed=`ls *.failed 2>/dev/null | wc -l`
 
 echo "$num_ok tests succeeded  $num_failed tests failed"
 
+test "$num_failed" -eq 0 || exit 1