summaryrefslogtreecommitdiffstats
path: root/tests/redir1.sub
diff options
context:
space:
mode:
Diffstat (limited to 'tests/redir1.sub')
-rw-r--r--tests/redir1.sub8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/redir1.sub b/tests/redir1.sub
new file mode 100644
index 0000000..f1082e9
--- /dev/null
+++ b/tests/redir1.sub
@@ -0,0 +1,8 @@
+#
+# Test the effect of input buffering on the shell's input
+#
+echo this is redir1.sub
+
+exec 0< redir2.sub
+
+echo BUG: after exec in redir1.sub