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-4236-g8303fcb


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.1-stable, updated. gawk-4.1.0-4236-g8303fcb
Date: Sat, 8 May 2021 15:37:39 -0400 (EDT)

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  8303fcb4ac651568dff831da88c147bbebea3ba7 (commit)
       via  7b2c1cd1c93dec77823b7d8d2e93f320dc4a6fb9 (commit)
      from  262c9c0e14e68c2b4b5d00e88f1bacc6c9556f3a (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=8303fcb4ac651568dff831da88c147bbebea3ba7

commit 8303fcb4ac651568dff831da88c147bbebea3ba7
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Sat May 8 22:37:19 2021 +0300

    And remove cksum file after test.

diff --git a/test/Makefile.in b/test/Makefile.in
index 967fbab..294136d 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -2927,7 +2927,7 @@ iolint:
        @touch 'exec cat' ; chmod 755 'exec cat'
        @AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? 
>>_$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
-       @-$(RM) -f cat 'echo hello' 'exec cat' f1 f2 md5sum
+       @-$(RM) -f cat 'echo hello' 'exec cat' f1 f2 cksum
 
 argcasfile:
        @echo $@

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=7b2c1cd1c93dec77823b7d8d2e93f320dc4a6fb9

commit 7b2c1cd1c93dec77823b7d8d2e93f320dc4a6fb9
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Sat May 8 22:34:01 2021 +0300

    Use cksum in test/iolint.awk.

diff --git a/test/ChangeLog b/test/ChangeLog
index d3e866a..f22250d 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-08         Arnold D. Robbins     <arnold@skeeve.com>
+
+       * iolint.awk: Use cksum instead of md5sum, for better portability.
+       * iolint.ok: Adjusted.
+
 2021-05-05         Arnold D. Robbins     <arnold@skeeve.com>
 
        * Makefile.am (iolint): Fix for out-of-tree builds.
diff --git a/test/Makefile.am b/test/Makefile.am
index c0e3764..88d4bcd 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -2480,7 +2480,7 @@ iolint:
        @touch 'exec cat' ; chmod 755 'exec cat'
        @AWKPATH="$(srcdir)" $(AWK) -f $@.awk >_$@ 2>&1 || echo EXIT CODE: $$? 
>>_$@
        @-$(CMP) "$(srcdir)"/$@.ok _$@ && rm -f _$@
-       @-$(RM) -f cat 'echo hello' 'exec cat' f1 f2 md5sum
+       @-$(RM) -f cat 'echo hello' 'exec cat' f1 f2 cksum
 
 argcasfile:
        @echo $@
diff --git a/test/iolint.awk b/test/iolint.awk
index 3f3bb22..bd102c5 100644
--- a/test/iolint.awk
+++ b/test/iolint.awk
@@ -38,10 +38,10 @@ BEGIN {
        fflush()
 
        # `%.*s' used for output file and output pipe"
-       print "junk" > "md5sum"
-       print "hello" | "md5sum"
-       print close("md5sum")
-       print close("md5sum")
+       print "junk" > "cksum"  # cksum is more portable than md5sum
+       print "hello" | "cksum"
+       print close("cksum")
+       print close("cksum")
        fflush()
 
        # `%.*s' used for input pipe and output file
diff --git a/test/iolint.ok b/test/iolint.ok
index 70f1cd2..078ae42 100644
--- a/test/iolint.ok
+++ b/test/iolint.ok
@@ -16,8 +16,8 @@ gawk: iolint.awk:35: warning: unnecessary mixing of `>' and 
`>>' for file `f2'
 0
 gawk: iolint.awk:37: warning: close: `f2' is not an open file, pipe or 
co-process
 -1
-gawk: iolint.awk:42: warning: `md5sum' used for output file and output pipe
-b1946ac92492d2347c6235b4d2611184  -
+gawk: iolint.awk:42: warning: `cksum' used for output file and output pipe
+3015617425 6
 0
 0
 gawk: iolint.awk:49: warning: `echo hello' used for input pipe and output file

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

Summary of changes:
 test/ChangeLog   | 5 +++++
 test/Makefile.am | 2 +-
 test/Makefile.in | 2 +-
 test/iolint.awk  | 8 ++++----
 test/iolint.ok   | 4 ++--
 5 files changed, 13 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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