Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f80802cb authored by Steven Rostedt's avatar Steven Rostedt Committed by Steven Rostedt
Browse files

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: default avatarSteven Rostedt <rostedt@goodmis.org>
parent a5abba98
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -462,6 +462,10 @@ sub dodie {
	`$power_off`;
    }

    if (defined($opt{"LOG_FILE"})) {
	print " See $opt{LOG_FILE} for more info.\n";
    }

    die @_, "\n";
}