[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {master} fixup: fix test tap-signal.tap to avoid false negatives

From: Stefano Lattarini
Subject: [FYI] {master} fixup: fix test tap-signal.tap to avoid false negatives
Date: Tue, 14 Feb 2012 14:29:34 +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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tests/tap-signal.tap b/tests/tap-signal.tap
index e14cc50..b84993a 100755
--- a/tests/tap-signal.tap
+++ b/tests/tap-signal.tap
@@ -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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]