diff options
author | Denys Vlasenko | 2016-10-02 18:32:52 +0200 |
---|---|---|
committer | Denys Vlasenko | 2016-10-02 18:32:52 +0200 |
commit | df303ae11731b07f63b7034a7c141931d7a6fcbb (patch) | |
tree | 39daf30ce526ee9d9cfb1ebe8326bd13588d8942 /shell/hush_test/hush-redir/redir2.tests | |
parent | c7a774dde4b777126de5ef9f718b503a15bf4d30 (diff) | |
download | busybox-df303ae11731b07f63b7034a7c141931d7a6fcbb.zip busybox-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-x | shell/hush_test/hush-redir/redir2.tests | 7 |
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 81983ca..61ccea3 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 |