linux_dsm_epyc7002/tools/testing/ktest
Steven Rostedt (VMware) 2902e30299 ktest.pl: Fix the logic for truncating the size of the log file for email
commit 170f4869e66275f498ae4736106fb54c0fdcd036 upstream.

The logic for truncating the log file for emailing based on the
MAIL_MAX_SIZE option is confusing and incorrect. Simplify it and have the
tail of the log file truncated to the max size specified in the config.

Cc: stable@vger.kernel.org
Fixes: 855d8abd2e ("ktest.pl: Change the logic to control the size of the log file emailed")
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-12-21 13:30:06 +01:00
..
examples tools/: replace HTTP links with HTTPS ones 2020-08-07 11:33:21 -07:00
compare-ktest-sample.pl License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
config-bisect.pl ktest: Fix some typos in config-bisect.pl 2019-07-24 15:37:18 -04:00
ktest.pl ktest.pl: Fix the logic for truncating the size of the log file for email 2020-12-21 13:30:06 +01:00
sample.conf ktest.pl: Add MAIL_MAX_SIZE to limit the amount of log emailed 2020-07-02 09:55:04 -04:00