aboutsummaryrefslogtreecommitdiffstats
path: root/test/iolint.awk
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-05-15 09:59:23 +0300
committerEli Zaretskii <eliz@gnu.org>2021-05-15 09:59:23 +0300
commite07a536ce04c70c472f962c985e741025f67a292 (patch)
tree383be662c026b5206c108a23110213ce9037fb20 /test/iolint.awk
parent9f4d21a8c8e78f223f993139a857fccd0bc30a29 (diff)
downloadegawk-e07a536ce04c70c472f962c985e741025f67a292.tar.gz
egawk-e07a536ce04c70c472f962c985e741025f67a292.tar.bz2
egawk-e07a536ce04c70c472f962c985e741025f67a292.zip
Fix DEFPATH and iolint test in MinGW build.
Diffstat (limited to 'test/iolint.awk')
-rw-r--r--test/iolint.awk15
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()
}