We want to get a stable status (i.e. -124) when a test has timed out, but --preserve-status makes it to return whatever the process got. Remove the flag, it behaves same but if timed out passes back -124. Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx> --- test/runtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.sh b/test/runtests.sh index fa240f2..7ed8852 100755 --- a/test/runtests.sh +++ b/test/runtests.sh @@ -84,7 +84,7 @@ run_test() fi # Run the test - timeout --preserve-status -s INT -k $TIMEOUT $TIMEOUT ./$test_name $dev + timeout -s INT -k $TIMEOUT $TIMEOUT ./$test_name $dev local status=$? # Check test status -- 2.24.0