]> asedeno.scripts.mit.edu Git - linux.git/commit
Ktest: Add email support
authorTim Tianyang Chen <tianyang.chen@oracle.com>
Mon, 26 Mar 2018 20:08:01 +0000 (13:08 -0700)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 6 Apr 2018 18:24:49 +0000 (14:24 -0400)
commit2ceb2d85b6697e2a3485047d1c908a4908069411
tree11987dbffd9a2ecd1bfc64c1e5e6a0f1983e8b1a
parent5a57299a1f084bbe7e3e9cafb06999793c4a40fb
Ktest: Add email support

Users can define optional variables to get email notifications.
Ktest can send emails when the script:
 * was started
 * failed with fatal errors and called dodie()
 * completed all testing

Users have to setup the mailer provided in config prior to using this script.
Supported mailers: mailx, mail, sendmail
mailer specific routines are _sendmail_send(), _mailx_send()

Link: http://lkml.kernel.org/r/1522094884-22718-2-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>
tools/testing/ktest/ktest.pl