tests: identify timed out tests correctly
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@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
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 @@
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