diff options
-rw-r--r-- | tools/regression/bin/sh/execution/bg7.0 | 5 | ||||
-rw-r--r-- | tools/regression/bin/sh/execution/bg8.0 | 5 | ||||
-rw-r--r-- | tools/regression/bin/sh/execution/bg9.0 | 5 |
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 0000000..f771edc --- /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 0000000..33667cb --- /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 0000000..64fde3e --- /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; }' |