hush: add support for "set -o pipefail"
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 14 Nov 2010 01:01:50 +0000 (02:01 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 14 Nov 2010 01:01:50 +0000 (02:01 +0100)
commit6696eac274b5dcf5932b211fe9ee748d8268a39c
tree9a088e5b9680d4657f6ebe3ad266d5502deb1f8b
parentc08c3f5d262acab7082cca88d0b2a329184b133b
hush: add support for "set -o pipefail"

function                                             old     new   delta
checkjobs                                            467     517     +50
builtin_set                                          259     286     +27
o_opt_strings                                          -      10     +10
hush_main                                           1011    1013      +2
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/0 up/down: 89/0)               Total: 89 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c
shell/hush_test/hush-misc/pipefail.right [new file with mode: 0644]
shell/hush_test/hush-misc/pipefail.tests [new file with mode: 0755]