Commit f80802cb1fbd7f441dd1d04db77d314adb7ccb37

Authored by Steven Rostedt
Committed by Steven Rostedt
1 parent a5abba989d

ktest: Print logfile name on failure

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>

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

tools/testing/ktest/ktest.pl
... ... @@ -462,6 +462,10 @@
462 462 `$power_off`;
463 463 }
464 464  
  465 + if (defined($opt{"LOG_FILE"})) {
  466 + print " See $opt{LOG_FILE} for more info.\n";
  467 + }
  468 +
465 469 die @_, "\n";
466 470 }
467 471