From df303ae11731b07f63b7034a7c141931d7a6fcbb Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 2 Oct 2016 18:32:52 +0200 Subject: sh testsuite: sync ash-redir/ and hush-redir/ Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-redir/redir2.tests | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'shell/hush_test/hush-redir/redir2.tests') 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 -- cgit v1.2.3