source: trunk/signal-checkpoint/test_sgck1.sh @ 184

Last change on this file since 184 was 69, checked in by g7moreau, 12 years ago
  • Test case with SIGUSR1 and SIGUSR2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 201 bytes
Line 
1#!/bin/bash
2#
3# 2012/04/23 gabriel
4
5trap 'kill -USR2 $(jobs -p)' USR2
6trap 'kill -USR1 $(jobs -p)' USR1
7
8
9./test_sgck1 &
10
11
12sleep 20
13
14kill -USR2 $$
15sleep 2
16kill -USR1 $$
17sleep 1
18kill -USR2 $$
19
20sleep 10
Note: See TracBrowser for help on using the repository browser.