aboutsummaryrefslogtreecommitdiff
path: root/shell/hush_test/hush-trap (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hush: add tests for interrupting readDenys Vlasenko2011-05-094-0/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix EXIT trap display inside exit trap handlerDenys Vlasenko2010-09-122-0/+41
| | | | | | | function old new delta hush_exit 84 78 -6 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* hush: fixes to testsuiteDenys Vlasenko2010-09-101-6/+5
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* ash: fix $! value when traps are setAlexander Shishkin2010-07-252-0/+19
| | | | | Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix subshell.tests failure on NOMMUDenys Vlasenko2010-01-122-5/+20
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* typo fix in a comment in a testcase. oh well...Denys Vlasenko2009-09-301-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash,hush: make trap output short signal names, without SIG prefixDenys Vlasenko2009-09-272-9/+9
| | | | | | | | | function old new delta evalvar 1373 1371 -2 builtin_trap 457 441 -16 trapcmd 260 236 -24 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: do not reset to default "" traps in subshellDenys Vlasenko2009-09-252-0/+26
| | | | | | | | function old new delta reset_traps_to_defaults 164 211 +47 builtin_umask 123 121 -2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash: better handling of EXIT trap in `trap` hackDenys Vlasenko2009-09-252-2/+10
| | | | | | | | | | | | | | function old new delta forkchild - 602 +602 trapcmd 255 347 +92 ash_main 1362 1375 +13 evalvar 1371 1373 +2 popstring 140 134 -6 forkshell 835 248 -587 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/2 up/down: 709/-593) Total: 116 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ash,hush: fix trap reporting: s/SIGEXIT/EXIT/Denys Vlasenko2009-09-241-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix `trap`Denys Vlasenko2009-09-232-0/+9
| | | | | | | | function old new delta expand_variables 2217 2280 +63 static.argv - 8 +8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hush: fix "export not_yet_defined_var", fix parsing of "cmd | }"Denis Vlasenko2009-04-191-0/+1
| | | | | | | | | | corner case; improve hush_leaktool.sh; fix some false positives in testsuite function old new delta builtin_export 191 206 +15 parse_stream 2196 2200 +4
* hust_test/*: use "$THIS_SH" instead of hushDenis Vlasenko2009-03-312-4/+4
|
* enable trap testsMike Frysinger2009-03-294-0/+0
|
* add test cases for `trap` ... but disabled for now until trap support is ↵Mike Frysinger2009-03-298-0/+72
committed