summaryrefslogtreecommitdiff
path: root/tools/regression/bin/sh
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2013-11-24 23:12:13 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2013-11-24 23:12:13 +0000
commit1b57cec7d999c971d6c4bcb3df6f6397670e1326 (patch)
treed5945aceac4152d0ab7de9eb45d68e0e9865344f /tools/regression/bin/sh
parente0c634180cd7f0da0db71e242370e844197e343d (diff)
Notes
Diffstat (limited to 'tools/regression/bin/sh')
-rw-r--r--tools/regression/bin/sh/execution/bg10.04
-rw-r--r--tools/regression/bin/sh/execution/bg10.0.stdout1
2 files changed, 5 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/execution/bg10.0 b/tools/regression/bin/sh/execution/bg10.0
new file mode 100644
index 0000000000000..44a25dc23b2e1
--- /dev/null
+++ b/tools/regression/bin/sh/execution/bg10.0
@@ -0,0 +1,4 @@
+# $FreeBSD$
+# The redirection overrides the </dev/null implicit in a background command.
+
+echo yes | ${SH} -c '{ cat & wait; } <&0'
diff --git a/tools/regression/bin/sh/execution/bg10.0.stdout b/tools/regression/bin/sh/execution/bg10.0.stdout
new file mode 100644
index 0000000000000..7cfab5b05d620
--- /dev/null
+++ b/tools/regression/bin/sh/execution/bg10.0.stdout
@@ -0,0 +1 @@
+yes