summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-redir/redir2.tests
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush_test/hush-redir/redir2.tests')
-rwxr-xr-xshell/hush_test/hush-redir/redir2.tests7
1 files changed, 5 insertions, 2 deletions
diff --git a/shell/hush_test/hush-redir/redir2.tests b/shell/hush_test/hush-redir/redir2.tests
index 81983cae2..61ccea30c 100755
--- a/shell/hush_test/hush-redir/redir2.tests
+++ b/shell/hush_test/hush-redir/redir2.tests
@@ -1,2 +1,5 @@
-echo NOT SHOWN \2>/dev/null
-echo Ok
+# ash once couldn't redirect above fd#9
+exec 1>/dev/null
+(echo LOST1 >&22) 22>&1
+(echo LOST2 >&22) 22>&1
+(echo OK >&22) 22>&2