aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-13 18:10:46 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-13 18:10:46 +0000
commit65eb550024a2d849951b7f0ac603fe4eedc5e3dd (patch)
treec32fa6dd41870bd34f0f4b89836829585390baee /shell
parent81887e23429bacb1d1f330f5aea706192901932a (diff)
downloadbusybox-65eb550024a2d849951b7f0ac603fe4eedc5e3dd.tar.gz
reinstate redir.tests with correct perms
Diffstat (limited to 'shell')
-rwxr-xr-xshell/ash_test/ash-redir/redir.tests6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/ash_test/ash-redir/redir.tests b/shell/ash_test/ash-redir/redir.tests
new file mode 100755
index 000000000..7a1a66806
--- /dev/null
+++ b/shell/ash_test/ash-redir/redir.tests
@@ -0,0 +1,6 @@
+# test: closed fds should stay closed
+exec 1>&-
+echo TEST >TEST
+echo JUNK # lost: stdout is closed
+cat TEST >&2
+rm TEST