[LTP] [PATCH v3] lib: shell: Fix timeout process races
Li Wang
liwang@redhat.com
Wed Sep 22 12:10:59 CEST 2021
Reviewed-by: Li Wang <liwang@redhat.com>
Patch tested well from my side, that'd be great if you
can help update code comments in timeout03.sh.
Or, do that separately is also fine, it's not a big deal.
# bash timeout03.sh
timeout03 1 TINFO: timeout per run is 0h 0m 1s
timeout03 1 TINFO: testing killing test after TST_TIMEOUT
Test timed out, sending SIGTERM!
If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
Terminated
timeout03 1 TBROK: test terminated
timeout03 1 TPASS: test run cleanup after timeout
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running...
Test is still running, sending SIGKILL
Killed
--
Regards,
Li Wang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20210922/0acac25a/attachment.htm>
More information about the ltp
mailing list