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

7 lines
92 B
Plaintext

./program > testsignal2.result &
pid=$!
sleep 3
kill -INT $pid
sleep 1
kill -9 $pid || true