diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-05-20 09:14:35 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-20 09:14:35 -0400 |
commit | 4d62bf51ac3408de85ebc1b677058482069b2e1c (patch) | |
tree | b83c5694510dbe7a1a59ec0f9ba5b9e759a5fbf1 /tools/testing/ktest/ktest.pl | |
parent | ca6a21f874301d0eb133819a60731c0f39967311 (diff) | |
download | lwn-4d62bf51ac3408de85ebc1b677058482069b2e1c.tar.gz lwn-4d62bf51ac3408de85ebc1b677058482069b2e1c.zip |
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>
Diffstat (limited to 'tools/testing/ktest/ktest.pl')
-rwxr-xr-x | tools/testing/ktest/ktest.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 7301d0328858..0603e64fea30 100755 --- a/tools/testing/ktest/ktest.pl +++ b/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; } } |