summaryrefslogtreecommitdiff
path: root/tools/testing/ktest/sample.conf
diff options
context:
space:
mode:
authorTim Tianyang Chen <tianyang.chen@oracle.com>2018-03-26 23:08:03 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-04-06 21:27:29 +0300
commitdf46fce692a649559d64da2826d355b4f28fc526 (patch)
tree4c2b7ed78a1f6a581cf97103ce3a9a5bce5d1298 /tools/testing/ktest/sample.conf
parent92db453e7eeb44efd43e977fa5ab417274834a9a (diff)
downloadlinux-df46fce692a649559d64da2826d355b4f28fc526.tar.xz
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>
Diffstat (limited to 'tools/testing/ktest/sample.conf')
0 files changed, 0 insertions, 0 deletions