ktest.pl: Add MAIL_MAX_SIZE to limit the amount of log emailed
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 1 Jul 2020 22:34:10 +0000 (18:34 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 2 Jul 2020 13:55:04 +0000 (09:55 -0400)
commitf986900209093f5de887d6c342139df6ebec04ac
tree57e56a4800e83feec60a90775fe8a678821fa29f
parent34148b13eec9c738327f8c8f84f468f4694b17a3
ktest.pl: Add MAIL_MAX_SIZE to limit the amount of log emailed

Add the ktest config option MAIL_MAX_SIZE that will limit the size of the
log file that is placed into the email on failure.

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