projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hush: fix subshell.tests failure on NOMMU
[oweals/busybox.git]
/
shell
/
hush_test
/
hush-trap
/
savetrap.tests
diff --git
a/shell/hush_test/hush-trap/savetrap.tests
b/shell/hush_test/hush-trap/savetrap.tests
index 6492e86a2ac96213c8d6c1ec700f9246f8a95466..c2b312fb87c206ad435f5fdc15fdbb390707a83d 100755
(executable)
--- a/
shell/hush_test/hush-trap/savetrap.tests
+++ b/
shell/hush_test/hush-trap/savetrap.tests
@@
-1,6
+1,9
@@
+trap 'echo Exiting' EXIT
trap 'echo WINCH!' SIGWINCH
v=` trap `
-echo $v
+echo "$v"
+v=$( trap )
+echo "$v"
v=`trap`
-echo
$v
+echo
"$v"
echo Done