summaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-redir
diff options
context:
space:
mode:
authorDenys Vlasenko2017-07-07 22:07:28 +0200
committerDenys Vlasenko2017-07-07 22:07:28 +0200
commit2db74610cdf8ffb4f9ed99b62c755377d3cc48ea (patch)
tree6835b5b3e84d3d9c5b511053df692db8bfab8792 /shell/hush_test/hush-redir
parent69a5ec9dccfd183cdf6bee7b994336670755cd47 (diff)
downloadbusybox-2db74610cdf8ffb4f9ed99b62c755377d3cc48ea.zip
busybox-2db74610cdf8ffb4f9ed99b62c755377d3cc48ea.tar.gz
hush: fix two redirection testcase failures
function old new delta save_fds_on_redirect 183 256 +73 fcntl_F_DUPFD - 46 +46 restore_redirects 74 96 +22 xdup_and_close 51 72 +21 setup_redirects 196 200 +4 hush_main 988 983 -5 static.C 12 - -12 run_pipe 1595 1551 -44 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 4/2 up/down: 166/-61) Total: 105 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-redir')
-rw-r--r--shell/hush_test/hush-redir/redir3.right3
-rw-r--r--shell/hush_test/hush-redir/redir_to_bad_fd.right3
2 files changed, 2 insertions, 4 deletions
diff --git a/shell/hush_test/hush-redir/redir3.right b/shell/hush_test/hush-redir/redir3.right
index fd641a8..e3c878b 100644
--- a/shell/hush_test/hush-redir/redir3.right
+++ b/shell/hush_test/hush-redir/redir3.right
@@ -1,3 +1,2 @@
TEST
-./redir3.tests: line 4: 9: Bad file descriptor
-Output to fd#9: 1
+hush: can't duplicate file descriptor: Bad file descriptor
diff --git a/shell/hush_test/hush-redir/redir_to_bad_fd.right b/shell/hush_test/hush-redir/redir_to_bad_fd.right
index 43b8af2..936911c 100644
--- a/shell/hush_test/hush-redir/redir_to_bad_fd.right
+++ b/shell/hush_test/hush-redir/redir_to_bad_fd.right
@@ -1,2 +1 @@
-./redir_to_bad_fd.tests: line 2: 10: Bad file descriptor
-OK
+hush: can't duplicate file descriptor: Bad file descriptor