gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4348-g0ed67a4


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4348-g0ed67a4
Date: Sun, 14 Nov 2021 02:35:44 -0500 (EST)

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 "gawk".

The branch, gawk-5.1-stable has been updated
       via  0ed67a4f4f043acc08e3982a2648e3082e1f245a (commit)
      from  e7468425dea5b5bc8bfb89158f5ad52b9789629e (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 -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=0ed67a4f4f043acc08e3982a2648e3082e1f245a

commit 0ed67a4f4f043acc08e3982a2648e3082e1f245a
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Sun Nov 14 09:33:44 2021 +0200

    Disable racy test in test/iolint.awk.

diff --git a/test/ChangeLog b/test/ChangeLog
index 101de8f..299e55c 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2021-11-14         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * iolint.awk: Disable test with race condition. Thanks to
+       Andreas Schwab <schwab@linux-m68k.org> for the report.
+
 2021-11-08         Arnold D. Robbins     <arnold@skeeve.com>
 
        * Makefile.am: Add a '-' to tests so that if they fail, the whole
diff --git a/test/iolint.awk b/test/iolint.awk
index 257678e..58fd746 100644
--- a/test/iolint.awk
+++ b/test/iolint.awk
@@ -55,12 +55,15 @@ BEGIN {
        print close("cat")
        fflush()
 
+       # 11/2021: Disable this test since it's a race condition
+       # and fails intermittently on some systems.
+       #
        # `%.*s' used for input pipe and output pipe
-       "echo hello" | getline junk
-       print "hello" | "echo hello"
-       print close("echo hello")
-       print close("echo hello")
-       fflush()
+       # "echo hello" | getline junk
+       # print "hello" | "echo hello"
+       # print close("echo hello")
+       # print close("echo hello")
+       # fflush()
 
        # `%.*s' used for output file and output pipe"
        BINMODE = 2
diff --git a/test/iolint.ok b/test/iolint.ok
index fbf514c..620a70f 100644
--- a/test/iolint.ok
+++ b/test/iolint.ok
@@ -23,11 +23,7 @@ gawk: iolint.awk:53: warning: `cat' used for output file and 
output pipe
 0
 hello
 0
-gawk: iolint.awk:60: warning: `echo hello' used for input pipe and output pipe
-hello
-0
-0
-gawk: iolint.awk:68: warning: `cksum' used for output file and output pipe
+gawk: iolint.awk:71: warning: `cksum' used for output file and output pipe
 3015617425 6
 0
 0

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

Summary of changes:
 test/ChangeLog  |  5 +++++
 test/iolint.awk | 13 ++++++++-----
 test/iolint.ok  |  6 +-----
 3 files changed, 14 insertions(+), 10 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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