aboutsummaryrefslogtreecommitdiffstats
path: root/test/exitval2.w32
diff options
context:
space:
mode:
Diffstat (limited to 'test/exitval2.w32')
-rw-r--r--test/exitval2.w323
1 files changed, 3 insertions, 0 deletions
diff --git a/test/exitval2.w32 b/test/exitval2.w32
new file mode 100644
index 00000000..7f003663
--- /dev/null
+++ b/test/exitval2.w32
@@ -0,0 +1,3 @@
+BEGIN { print "foo" | "sh -c \"read x ; echo $x ; exit 12\"" }
+# this should still exit 0, as pointed out by kenny mccormack in
+# comp.lang.awk on 2 feb 2005