aboutsummaryrefslogtreecommitdiff
path: root/tools/regression
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2011-02-05 15:02:19 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2011-02-05 15:02:19 +0000
commitb15e9aa32294a54c1909c66c500ee4cb232eabf7 (patch)
treef09d358ca460ca4e423df11e30360f9a4012e6c0 /tools/regression
parentc059d82290fbc6fdb3a935decaf53336e7e8db98 (diff)
downloadsrc-b15e9aa32294a54c1909c66c500ee4cb232eabf7.tar.gz
src-b15e9aa32294a54c1909c66c500ee4cb232eabf7.zip
sh: Fix two things about {(...)} <redir:
* In {(...) <redir1;} <redir2, do not drop redir1. * Maintain the difference between (...) <redir and {(...)} <redir: In (...) <redir, the redirection is performed in the child, while in {(...)} <redir it should be performed in the parent (like {(...); :;} <redir)
Notes
Notes: svn path=/head/; revision=218325
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/bin/sh/execution/redir5.03
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/regression/bin/sh/execution/redir5.0 b/tools/regression/bin/sh/execution/redir5.0
new file mode 100644
index 000000000000..707ca68f737a
--- /dev/null
+++ b/tools/regression/bin/sh/execution/redir5.0
@@ -0,0 +1,3 @@
+# $FreeBSD$
+
+{ (echo bad) >/dev/null; } </dev/null