Source

ocaml / testsuite / tests / lib-threads / testsignal2.runner

Full commit
1
2
3
4
5
6
./program > testsignal2.result &
pid=$!
sleep 3
kill -INT $pid
sleep 1
kill -9 $pid 2>&- || true