[LTP] [PATCH v2] tst_test: using SIGTERM to terminate process

Joerg Vehlow lkml@jv-coder.de
Wed May 19 11:21:13 CEST 2021


Hi,

On 5/19/2021 10:58 AM, Li Wang wrote:
> diff --git a/lib/newlib_tests/shell/timeout03.sh b/lib/newlib_tests/shell/timeout03.sh
> index cd548d9a2..dabef32a2 100755
> --- a/lib/newlib_tests/shell/timeout03.sh
> +++ b/lib/newlib_tests/shell/timeout03.sh
> @@ -6,8 +6,9 @@
>   # expected output:
>   # timeout03 1 TINFO: timeout per run is 0h 0m 1s
>   # timeout03 1 TINFO: testing killing test after TST_TIMEOUT
> -# timeout03 1 TBROK: Test timeouted, sending SIGINT! If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
> -# timeout03 1 TBROK: test interrupted or timed out
> +# timeout03 1 TBROK: Test timed out, sending SIGTERM! If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1
> +# Terminated
Nit: This Message seems to be only there for bash... I tried to find why 
and if it can be suppressed, but found nothing. I guess it comes from 
the terminated sleep process.

Jörg


More information about the ltp mailing list