Commit 4d62bf51ac3408de85ebc1b677058482069b2e1c

Authored by Steven Rostedt
Committed by Steven Rostedt
1 parent ca6a21f874

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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

tools/testing/ktest/ktest.pl
... ... @@ -838,6 +838,7 @@
838 838  
839 839 if ($stop_test_after > 0 && !$booted && !$bug) {
840 840 if (time - $monitor_start > $stop_test_after) {
  841 + doprint "STOP_TEST_AFTER ($stop_test_after seconds) timed out\n";
841 842 $done = 1;
842 843 }
843 844 }