hush: fix trap
function old new delta expand_variables 2217 2280 +63 static.argv - 8 +8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
3
shell/hush_test/hush-trap/savetrap.right
Normal file
3
shell/hush_test/hush-trap/savetrap.right
Normal file
@@ -0,0 +1,3 @@
|
||||
trap -- 'echo WINCH!' SIGWINCH
|
||||
trap -- 'echo WINCH!' SIGWINCH
|
||||
Done
|
6
shell/hush_test/hush-trap/savetrap.tests
Executable file
6
shell/hush_test/hush-trap/savetrap.tests
Executable file
@@ -0,0 +1,6 @@
|
||||
trap 'echo WINCH!' SIGWINCH
|
||||
v=` trap `
|
||||
echo $v
|
||||
v=`trap`
|
||||
echo $v
|
||||
echo Done
|
Reference in New Issue
Block a user