summaryrefslogtreecommitdiff
path: root/polux/application/busybox/shell/ash_test/ash-redir/redir.tests
diff options
context:
space:
mode:
authorJean-Philippe SAVE2012-02-20 16:38:56 +0100
committerJean-Philippe SAVE2012-02-20 16:38:56 +0100
commit55a15cc820e926219ebce47218ce1e2f35bb0c48 (patch)
treedba3ff39a766e47859ab7fd837d8da5d30b56b1f /polux/application/busybox/shell/ash_test/ash-redir/redir.tests
parent1353d3215782b997fdec3f9182cbda547d92d7e9 (diff)
parentcfc4d43d4d19c398d994b75cb1eeda3c499bd234 (diff)
Add polux base by subtree merge
Diffstat (limited to 'polux/application/busybox/shell/ash_test/ash-redir/redir.tests')
-rwxr-xr-xpolux/application/busybox/shell/ash_test/ash-redir/redir.tests6
1 files changed, 6 insertions, 0 deletions
diff --git a/polux/application/busybox/shell/ash_test/ash-redir/redir.tests b/polux/application/busybox/shell/ash_test/ash-redir/redir.tests
new file mode 100755
index 0000000000..7a1a668066
--- /dev/null
+++ b/polux/application/busybox/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