automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, test-protocols, updated. v1


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, test-protocols, updated. v1.11-1062-g85aa4fe
Date: Fri, 26 Aug 2011 09:16:33 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=85aa4fee2425be149d54a634f7664d70184c5b41

The branch, test-protocols has been updated
       via  85aa4fee2425be149d54a634f7664d70184c5b41 (commit)
      from  e698ee3ea801e1a02263516d75bc4fb1f25e7b3c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 85aa4fee2425be149d54a634f7664d70184c5b41
Author: Stefano Lattarini <address@hidden>
Date:   Fri Aug 26 11:11:36 2011 +0200

    tests: fix spurious failure for awk implementation of TAP driver
    
    * tests/tap-realtime.test: The awk+shell implementation of the TAP
    driver must "read ahead" of one line in order to catch the exit
    status of the test script it runs.  So, in the TAP-producer script
    here, be sure to echo one "dummy" line after each TAP result line
    in order not to cause false positives.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    9 +++++++++
 tests/tap-realtime.test |    8 ++++++++
 2 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e407d89..666445a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-08-26  Stefano Lattarini  <address@hidden>
+
+       tests: fix spurious failure for awk implementation of TAP driver
+       * tests/tap-realtime.test: The awk+shell implementation of the TAP
+       driver must "read ahead" of one line in order to catch the exit
+       status of the test script it runs.  So, in the TAP-producer script
+       here, be sure to echo one "dummy" line after each TAP result line
+       in order not to cause false positives.
+
 2011-08-25  Stefano Lattarini  <address@hidden>
 
        tap/awk: allow escaping of TAP directives
diff --git a/tests/tap-realtime.test b/tests/tap-realtime.test
index 4a38f14..61476c3 100755
--- a/tests/tap-realtime.test
+++ b/tests/tap-realtime.test
@@ -47,15 +47,23 @@ echo 1..3
 # FIXME: creative quoting to placate maintainer-check
 sleep="sleep "3
 
+# The awk+shell implementation of the TAP driver must "read ahead" of one
+# line in order to catch the exit status of the test script it runs.  So
+# be sure to echo one "dummy" line after each result line in order not to
+# cause false positives.
+
 echo ok 1 - foo
+echo DUMMY
 $sleep
 test -f ok-1 || { echo 'Bail out!'; exit 1; }
 
 echo ok 2 - bar
+echo DUMMY
 $sleep
 test -f ok-2 || { echo 'Bail out!'; exit 1; }
 
 echo ok 3 - baz
+echo DUMMY
 $sleep
 test -f ok-3 || { echo 'Bail out!'; exit 1; }
 


hooks/post-receive
-- 
GNU Automake



reply via email to

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