mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
a5abba989d
commit
f80802cb1f
1 changed files with 4 additions and 0 deletions
|
@ -462,6 +462,10 @@ sub dodie {
|
||||||
`$power_off`;
|
`$power_off`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (defined($opt{"LOG_FILE"})) {
|
||||||
|
print " See $opt{LOG_FILE} for more info.\n";
|
||||||
|
}
|
||||||
|
|
||||||
die @_, "\n";
|
die @_, "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue