hush/shell/ash_test
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
..
ash-alias
ash-arith
ash-heredoc
ash-invert
ash-quoting ash: optional support for $'...\t...\n...' bashism 2008-06-23 01:52:30 +00:00
ash-read
ash-redir ash: fix a bug where redirection fds were not closed afterwards. 2008-07-24 19:46:38 +00:00
ash-signals
ash-vars ash: fix ${var/s/r} handling, add testcase. 2008-06-14 06:04:59 +00:00
printenv.c - use EXIT_{SUCCESS,FAILURE}. No object-code changes 2008-05-19 09:29:47 +00:00
recho.c - use EXIT_{SUCCESS,FAILURE}. No object-code changes 2008-05-19 09:29:47 +00:00
run-all ash: fix a bug where redirection fds were not closed afterwards. 2008-07-24 19:46:38 +00:00
zecho.c - use EXIT_{SUCCESS,FAILURE}. No object-code changes 2008-05-19 09:29:47 +00:00