aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2013-11-24 22:45:49 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2013-11-24 22:45:49 +0000
commit82baac57778a50aad3ed21177aa5320ef4bad022 (patch)
treeeeca1aa4c430d5e8b90fdec2b069dfbac5c42bab /tools
parent702701714b947bdd3bfba79c7054bd24fe229591 (diff)
Notes
Diffstat (limited to 'tools')
-rw-r--r--tools/regression/bin/sh/execution/bg7.05
-rw-r--r--tools/regression/bin/sh/execution/bg8.05
-rw-r--r--tools/regression/bin/sh/execution/bg9.05
3 files changed, 15 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/execution/bg7.0 b/tools/regression/bin/sh/execution/bg7.0
new file mode 100644
index 0000000000000..f771edc56cdee
--- /dev/null
+++ b/tools/regression/bin/sh/execution/bg7.0
@@ -0,0 +1,5 @@
+# $FreeBSD$
+# 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; }'
diff --git a/tools/regression/bin/sh/execution/bg8.0 b/tools/regression/bin/sh/execution/bg8.0
new file mode 100644
index 0000000000000..33667cb1922bf
--- /dev/null
+++ b/tools/regression/bin/sh/execution/bg8.0
@@ -0,0 +1,5 @@
+# $FreeBSD$
+# The redirection does not apply to the background command, and therefore
+# does not override the implicit </dev/null.
+
+echo bad | ${SH} -c 'command eval \) </dev/null 2>/dev/null; { cat & wait; }'
diff --git a/tools/regression/bin/sh/execution/bg9.0 b/tools/regression/bin/sh/execution/bg9.0
new file mode 100644
index 0000000000000..64fde3e3e333a
--- /dev/null
+++ b/tools/regression/bin/sh/execution/bg9.0
@@ -0,0 +1,5 @@
+# $FreeBSD$
+# The redirection does not apply to the background command, and therefore
+# does not override the implicit </dev/null.
+
+echo bad | ${SH} -c 'command eval eval \\\) \</dev/null 2>/dev/null; { cat & wait; }'