aboutsummaryrefslogtreecommitdiffstats
path: root/shell_cmds/sh/tests/execution/bg7.0
diff options
context:
space:
mode:
Diffstat (limited to 'shell_cmds/sh/tests/execution/bg7.0')
-rw-r--r--shell_cmds/sh/tests/execution/bg7.05
1 files changed, 5 insertions, 0 deletions
diff --git a/shell_cmds/sh/tests/execution/bg7.0 b/shell_cmds/sh/tests/execution/bg7.0
new file mode 100644
index 0000000..788161e
--- /dev/null
+++ b/shell_cmds/sh/tests/execution/bg7.0
@@ -0,0 +1,5 @@
+# $FreeBSD: head/bin/sh/tests/execution/bg7.0 258533 2013-11-24 22:45:49Z jilles $
+# The redirection does not apply to the background command, and therefore
+# does not override the implicit </dev/null.
+
+echo bad | ${SH} -c '</dev/null; { cat & wait; }'