source:
trunk/signal-checkpoint/test_sgck1.sh
@
184
Last change on this file since 184 was 69, checked in by , 12 years ago | |
---|---|
|
|
File size: 201 bytes |
Line | |
---|---|
1 | #!/bin/bash |
2 | # |
3 | # 2012/04/23 gabriel |
4 | |
5 | trap 'kill -USR2 $(jobs -p)' USR2 |
6 | trap 'kill -USR1 $(jobs -p)' USR1 |
7 | |
8 | |
9 | ./test_sgck1 & |
10 | |
11 | |
12 | sleep 20 |
13 | |
14 | kill -USR2 $$ |
15 | sleep 2 |
16 | kill -USR1 $$ |
17 | sleep 1 |
18 | kill -USR2 $$ |
19 | |
20 | sleep 10 |
Note: See TracBrowser
for help on using the repository browser.