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

Last change on this file since 322 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
RevLine 
[66]1#!/bin/bash
2#
3# 2012/04/23 gabriel
4
5trap 'kill -USR2 $(jobs -p)' USR2
[69]6trap 'kill -USR1 $(jobs -p)' USR1
[66]7
8
9./test_sgck1 &
10
11
12sleep 20
13
14kill -USR2 $$
15sleep 2
[69]16kill -USR1 $$
17sleep 1
[66]18kill -USR2 $$
19
20sleep 10
Note: See TracBrowser for help on using the repository browser.