ash testsuite: add return_in_trap1.tests
Currently it fails Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
9
shell/hush_test/hush-signals/savetrap.tests
Executable file
9
shell/hush_test/hush-signals/savetrap.tests
Executable file
@@ -0,0 +1,9 @@
|
||||
trap 'echo Exiting' EXIT
|
||||
trap 'echo WINCH!' SIGWINCH
|
||||
v=` trap `
|
||||
echo "$v"
|
||||
v=$( trap )
|
||||
echo "$v"
|
||||
v=`trap`
|
||||
echo "$v"
|
||||
echo Done
|
||||
Reference in New Issue
Block a user