diff options
author | Tim Tianyang Chen <tianyang.chen@oracle.com> | 2018-03-26 13:08:03 -0700 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-04-06 14:27:29 -0400 |
commit | df46fce692a649559d64da2826d355b4f28fc526 (patch) | |
tree | 4c2b7ed78a1f6a581cf97103ce3a9a5bce5d1298 /scripts/mkmakefile | |
parent | 92db453e7eeb44efd43e977fa5ab417274834a9a (diff) |
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 'scripts/mkmakefile')
0 files changed, 0 insertions, 0 deletions