summaryrefslogtreecommitdiff
path: root/testsuite/tests/lib-threads/signal.runner
blob: eec95bccef9d556967455ee5519e71446ab09792 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#########################################################################
#                                                                       #
#                                 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 >signal.result &
pid=$!
sleep 2
kill -INT $pid