linux/tools/testing/ktest
Tim Tianyang Chen df46fce692 Ktest: Use dodie for critical falures
Users should get emails when the script dies because of a critical failure.
Critical failures are defined as any errors that could abnormally terminate
the script.

In order to add email support, this patch converts all die() to dodie() except:
 * when '-v' is used as an option to get the version of the script.
 * in Sig-Int handeler because it's not a fatal error to cancel the script.
 * errors happen during parsing config

Link: http://lkml.kernel.org/r/1522094884-22718-4-git-send-email-tianyang.chen@oracle.com

Suggested-by: Dhaval Giani <dhaval.giani@oracle.com>
Signed-off-by: Tim Tianyang Chen <tianyang.chen@oracle.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2018-04-06 14:27:29 -04:00
..
examples ktest: Set CLOSE_CONSOLE_SIGNAL in the kvm.conf 2014-02-26 15:26:24 -05: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.pl: Have ktest.pl pass -r to config-bisect.pl to reset bisect 2018-04-06 14:08:03 -04:00
ktest.pl Ktest: Use dodie for critical falures 2018-04-06 14:27:29 -04:00
sample.conf ktest.pl: Make finding config-bisect.pl dynamic 2018-04-06 14:08:11 -04:00