Imported from ../bash-1.14.7.tar.gz.
This commit is contained in:
commit
726f63884d
402 changed files with 150297 additions and 0 deletions
9
tests/misc/sigint.t1.sh
Executable file
9
tests/misc/sigint.t1.sh
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
echo before trap
|
||||
trap 'echo caught sigint' 2
|
||||
echo after trap
|
||||
|
||||
for i in 1 2 3
|
||||
do
|
||||
echo $i
|
||||
sleep 5
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue