fixup: fix test tap-signal.tap to avoid false negatives
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 14 Feb 2012 13:28:34 +0000 (14:28 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 14 Feb 2012 13:28:34 +0000 (14:28 +0100)
Problem introduced by yesterday commit v1.11-1851-g79b2c6a,
"tests: avoid yet other spurious failures on NetBSD"

* tests/tap-signal.tap: Truly ensure the exit status of the make
call under test is correctly reflected in the TAP result displayed
by the corresponding 'command_ok_' invocation.

tests/tap-signal.tap

index e14cc50..b84993a 100755 (executable)
@@ -105,6 +105,7 @@ command_ok_ '"make check" fails' eval '
     # garbled output with NetBSD make, which would miss some final
     # newlines in the expected places and thus mess up our TAP output.
     set +x; echo
+    test $st -gt 0
   )
 '
 cat stdout # For debugging.