mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
ktest: If test failed due to timeout, print that
If the test failed due to timeout for boot, print a message saying so. Otherwise the user will be confused to why their test just failed. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
ca6a21f874
commit
4d62bf51ac
@ -838,6 +838,7 @@ sub monitor {
|
||||
|
||||
if ($stop_test_after > 0 && !$booted && !$bug) {
|
||||
if (time - $monitor_start > $stop_test_after) {
|
||||
doprint "STOP_TEST_AFTER ($stop_test_after seconds) timed out\n";
|
||||
$done = 1;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user