]> granicus.if.org Git - strace/commit
tests: enhance timeout diagnostics
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 19 Jul 2017 02:38:37 +0000 (02:38 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 19 Jul 2017 02:38:37 +0000 (02:38 +0000)
commit741dadd12d178446865a8ba03a2864834926deab
treebb9fa32405a1a3960c74ca2b68acb0a415282709
parent6644e1f4e1180ea7abc1001aa3527e965a80d3d5
tests: enhance timeout diagnostics

* tests/init.sh: Trap SIGXCPU.
* tests/run.sh: Send SIGXCPU instead of SIGKILL in case of timeout, send
SIGKILL if the command is still running 5 seconds after SIGXCPU.
tests/init.sh
tests/run.sh