Re: [PATCH v3 1/4] Ktest: add email support

2018-04-07 Thread Steven Rostedt
On Fri, 6 Apr 2018 16:09:28 -0700 Tim Tianyang Chen wrote: > > sub _sendmail_send { > > my ($subject, $message) = @_; > > -system("echo -e \"Subject: $subject\n\n$message\" | sendmail -t > > $mailto"); > > + > > +if (!defined($mail_exec)) { > > +

Re: [PATCH v3 1/4] Ktest: add email support

2018-04-07 Thread Steven Rostedt
On Fri, 6 Apr 2018 16:09:28 -0700 Tim Tianyang Chen wrote: > > sub _sendmail_send { > > my ($subject, $message) = @_; > > -system("echo -e \"Subject: $subject\n\n$message\" | sendmail -t > > $mailto"); > > + > > +if (!defined($mail_exec)) { > > + $mail_exec =

Re: [PATCH v3 1/4] Ktest: add email support

2018-04-06 Thread Tim Tianyang Chen
I just fixed them up and pulled them in myself. ;-) I also added the following on top of them (and testing this, live while testing ftrace patches and other builds). Thanks Steve! diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 30a4c053f98b..837fa75cbb47 100755

Re: [PATCH v3 1/4] Ktest: add email support

2018-04-06 Thread Tim Tianyang Chen
I just fixed them up and pulled them in myself. ;-) I also added the following on top of them (and testing this, live while testing ftrace patches and other builds). Thanks Steve! diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 30a4c053f98b..837fa75cbb47 100755

Re: [PATCH v3 1/4] Ktest: add email support

2018-04-06 Thread Steven Rostedt
On Fri, 6 Apr 2018 15:19:48 -0700 Tim Tianyang Chen wrote: > > The full path name needs to be here. > > > > tools/testing/ktest/ktest.pl > > > Sorry I was working on my private folder, version tracked with other > stuff. Just re-sent them. I just fixed them up

Re: [PATCH v3 1/4] Ktest: add email support

2018-04-06 Thread Steven Rostedt
On Fri, 6 Apr 2018 15:19:48 -0700 Tim Tianyang Chen wrote: > > The full path name needs to be here. > > > > tools/testing/ktest/ktest.pl > > > Sorry I was working on my private folder, version tracked with other > stuff. Just re-sent them. I just fixed them up and pulled them in myself.

Re: [PATCH v3 1/4] Ktest: add email support

2018-04-06 Thread Tim Tianyang Chen
On 04/06/2018 11:24 AM, Steven Rostedt wrote: On Mon, 26 Mar 2018 13:08:01 -0700 Tim Tianyang Chen 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

Re: [PATCH v3 1/4] Ktest: add email support

2018-04-06 Thread Tim Tianyang Chen
On 04/06/2018 11:24 AM, Steven Rostedt wrote: On Mon, 26 Mar 2018 13:08:01 -0700 Tim Tianyang Chen 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

[PATCH v3 1/4] ktest: add email support

2018-04-06 Thread Tim Tianyang Chen
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,

[PATCH v3 1/4] ktest: add email support

2018-04-06 Thread Tim Tianyang Chen
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,

Re: [PATCH v3 1/4] Ktest: add email support

2018-04-06 Thread Steven Rostedt
On Mon, 26 Mar 2018 13:08:01 -0700 Tim Tianyang Chen 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

Re: [PATCH v3 1/4] Ktest: add email support

2018-04-06 Thread Steven Rostedt
On Mon, 26 Mar 2018 13:08:01 -0700 Tim Tianyang Chen 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

[PATCH v3 1/4] Ktest: add email support

2018-03-26 Thread Tim Tianyang Chen
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,

[PATCH v3 1/4] Ktest: add email support

2018-03-26 Thread Tim Tianyang Chen
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,