Explorar o código

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>
Steven Rostedt %!s(int64=14) %!d(string=hai) anos
pai
achega
4d62bf51ac
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      tools/testing/ktest/ktest.pl

+ 1 - 0
tools/testing/ktest/ktest.pl

@@ -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;
 	    }
 	}