blob: 19a3942f9728a0e6368560888d41edbe5afc3174 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#########################################################################
# #
# OCaml #
# #
# Xavier Clerc, SED, INRIA Rocquencourt #
# #
# Copyright 2010 Institut National de Recherche en Informatique et #
# en Automatique. All rights reserved. This file is distributed #
# under the terms of the Q Public License version 1.0. #
# #
#########################################################################
$RUNTIME ./program >testsignal2.result &
pid=$!
sleep 3
kill -INT $pid
sleep 1
kill -9 $pid 2>&- || true
|