aboutsummaryrefslogtreecommitdiffstats
path: root/test/iolint.awk
diff options
context:
space:
mode:
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()
}