Gitiles
Code Review
Sign In
gerrit.nordix.org
/
codeaurora
/
busybox
/
6cfec7dd0269619add74ff654f724d3c5f89176b
/
.
/
shell
/
hush_test
/
hush-misc
/
exitcode_trap4.tests
blob: 36dba90bdbcd90bb86ba87f0619f7f1ed40a7cdf [
file
] [
log
] [
blame
]
# "return" in trap sets $? after trap
trap
"echo TERM;return 11"
term
f
()
{
(
sleep
1
;
kill $$
)
&
until
(
exit
42
)
do
(
exit
42
);
done
}
f
echo
11
:
$
?