aboutsummaryrefslogtreecommitdiffstats
path: root/test/clos1way2.awk
diff options
context:
space:
mode:
Diffstat (limited to 'test/clos1way2.awk')
-rw-r--r--test/clos1way2.awk1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/clos1way2.awk b/test/clos1way2.awk
index 7dab6a67..5794bec5 100644
--- a/test/clos1way2.awk
+++ b/test/clos1way2.awk
@@ -1,5 +1,6 @@
{
cmd = "cat - 1>&2; sleep 2"
print |& cmd; close(cmd, "to")
+ fflush(cmd)
print |& cmd; print ERRNO
}