projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5abba9
)
ktest: Print logfile name on failure
author
Steven Rostedt
<srostedt@redhat.com>
Mon, 7 Mar 2011 18:18:47 +0000
(13:18 -0500)
committer
Steven Rostedt
<rostedt@goodmis.org>
Tue, 8 Mar 2011 14:52:58 +0000
(09:52 -0500)
If the test fails and a logfile was specified. Print the name to
let the user know where to look for more information on the
failure.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl
patch
|
blob
|
blame
|
history
diff --git
a/tools/testing/ktest/ktest.pl
b/tools/testing/ktest/ktest.pl
index e1c62eeb88f5f845640b49ddb2fb00313039928e..3e3615a7d968dfc13e1c79f9370883688d929e9b 100755
(executable)
--- a/
tools/testing/ktest/ktest.pl
+++ b/
tools/testing/ktest/ktest.pl
@@
-462,6
+462,10
@@
sub dodie {
`$power_off`;
}
+ if (defined($opt{"LOG_FILE"})) {
+ print " See $opt{LOG_FILE} for more info.\n";
+ }
+
die @_, "\n";
}
This page took
0.026182 seconds
and
5
git commands to generate.