projects
/
oweals
/
busybox.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Start 1.33.0 development cycle
[oweals/busybox.git]
/
shell
/
ash_test
/
ash-misc
/
exitcode_trap2.tests
1
# "exit" in trap should not use last command's exitcode,
2
# but exitcode on entering the trap.
3
$THIS_SH -c '
4
trap "false;exit" term
5
kill $$ &
6
(sleep 1; exit 42)
7
'
8
echo 42:$?