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