busybox/shell/ash_test/ash-redir
Denis Vlasenko 5a867317bb ash: fix a bug where redirection fds were not closed afterwards.
optimize close+fcntl(DUPFD) into dup2. add testsuites.

function                                             old     new   delta
copyfd                                                47      68     +21
argstr                                              1311    1298     -13
popredir                                             148     131     -17
redirect                                            1139    1107     -32
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 21/-62)            Total: -41 bytes
2008-07-24 19:46:38 +00:00
..
redir2.right ash: fix a bug where redirection fds were not closed afterwards. 2008-07-24 19:46:38 +00:00
redir2.tests ash: fix a bug where redirection fds were not closed afterwards. 2008-07-24 19:46:38 +00:00
redir3.right ash: fix a bug where redirection fds were not closed afterwards. 2008-07-24 19:46:38 +00:00
redir3.tests ash: fix a bug where redirection fds were not closed afterwards. 2008-07-24 19:46:38 +00:00
redir.right
redir.tests reinstate redir.tests with correct perms 2008-02-13 18:10:46 +00:00