summaryrefslogtreecommitdiffstats
path: root/testsuite/tests/lib-threads/testsignal.runner
blob: ed4e9279e04aa24dfa9bc382a5c2159f3f4891ed (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 >testsignal.result &
pid=$!
sleep 3
kill -INT $pid