aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-redir/redir2.tests
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-10-02 18:32:52 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2016-10-02 18:32:52 +0200
commitdf303ae11731b07f63b7034a7c141931d7a6fcbb (patch)
tree39daf30ce526ee9d9cfb1ebe8326bd13588d8942 /shell/hush_test/hush-redir/redir2.tests
parentc7a774dde4b777126de5ef9f718b503a15bf4d30 (diff)
downloadbusybox-df303ae11731b07f63b7034a7c141931d7a6fcbb.tar.gz
sh testsuite: sync ash-redir/ and hush-redir/
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
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