ktest.pl: Add the log of last test in email on failure
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 1 Jul 2020 22:15:07 +0000 (18:15 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 2 Jul 2020 13:54:27 +0000 (09:54 -0400)
commit34148b13eec9c738327f8c8f84f468f4694b17a3
treec47eb474aad6a669e57b49ed868b9dba6a1dab6e
parenteefb9d2b8c6a781dd1026b18e37b4bcb50cff440
ktest.pl: Add the log of last test in email on failure

If a failure happens and an email is sent, show the contents of the log of
the last test that failed in the email.

Link: http://lore.kernel.org/r/20200701231756.619246244@goodmis.org
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl