On Mon, 26 Mar 2018 13:08:01 -0700 Tim Tianyang Chen <tianyang.c...@oracle.com> wrote:
> 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() > > Suggested-by: Dhaval Giani <dhaval.gi...@oracle.com> > Signed-off-by: Tim Tianyang Chen <tianyang.c...@oracle.com> > > --- > changes since v2: > coding style fix for option maps and if statements > moved sig int handeling to another patch > changes since v1: > added options for when to send emails to option_map > --- > ktest.pl | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- > 1 file changed, 58 insertions(+), 3 deletions(-) > > diff --git a/ktest.pl b/ktest.pl > index 0c8b61f8398e..9469783bc6c1 100755 > --- a/ktest.pl > +++ b/ktest.pl If you can, please use git to make your diffs. The full path name needs to be here. tools/testing/ktest/ktest.pl -- Steve > @@ -22,6 +22,11 @@ my %evals; > >