]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
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 6a6d0508d6ec5ca903f9955d38dedeb5cf5169e2..fad3aa3779d2663eb1088a550bb6d838986eeb5d 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 b8d72cc63fb8ae0e0ba139b2a4a5b09019538754..72f63329b080631457266547cdd24d7be210e1dd 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