Переглянути джерело

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 14 роки тому
батько
коміт
4d62bf51ac
1 змінених файлів з 1 додано та 0 видалено
  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;
 	    }
 	}