diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2021-05-18 21:09:05 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2021-05-18 21:09:05 +0300 |
commit | 195dffb2caa016698dba983e6fbf823d9a60a989 (patch) | |
tree | 18deed19d2ee43ed4bd3bb0175c4c48a3a322b28 /test/iolint.awk | |
parent | 356f7fbe484236c43a589c3338387f0097c87859 (diff) | |
parent | b5eced16ce35a70e72e7fc03e5b0ca33e0a80300 (diff) | |
download | egawk-195dffb2caa016698dba983e6fbf823d9a60a989.tar.gz egawk-195dffb2caa016698dba983e6fbf823d9a60a989.tar.bz2 egawk-195dffb2caa016698dba983e6fbf823d9a60a989.zip |
Merge branch 'gawk-5.1-stable'
Diffstat (limited to 'test/iolint.awk')
-rw-r--r-- | test/iolint.awk | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test/iolint.awk b/test/iolint.awk index a866ed6d..257678ed 100644 --- a/test/iolint.awk +++ b/test/iolint.awk @@ -37,13 +37,6 @@ BEGIN { print close("f2") # -1 expected here fflush() - # `%.*s' used for output file and output pipe" - 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 "echo hello" | getline junk print "hello" > "echo hello" @@ -68,4 +61,12 @@ BEGIN { print close("echo hello") print close("echo hello") fflush() + + # `%.*s' used for output file and output pipe" + BINMODE = 2 + print "junk" > "cksum" # cksum is more portable than md5sum + print "hello" | "cksum" + print close("cksum") + print close("cksum") + fflush() } |