summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-redir/redir_multi.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-redir/redir_multi.tests')
-rwxr-xr-xshell/hush_test/hush-redir/redir_multi.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/hush_test/hush-redir/redir_multi.tests b/shell/hush_test/hush-redir/redir_multi.tests
new file mode 100755
index 0000000..c639ebb
--- /dev/null
+++ b/shell/hush_test/hush-redir/redir_multi.tests
@@ -0,0 +1,5 @@
+echo "Testing multiple redirections to same fd"
+# bug was making us lose fd #1 after this:
+echo Hello >/dev/null 1>&2
+echo Done1
+echo Done2 >&2