mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tim Tianyang Chen <tianyang.chen@oracle.com>
To: rostedt@goodmis.org
Cc: linux-kernel@vger.kernel.org, dhaval.giani@oracle.com,
	tim.tianyang.chen@alumni.upenn.edu,
	Tim Tianyang Chen <tianyang.chen@oracle.com>
Subject: [PATCH v3 4/4] ktest: add email options to sample.config
Date: Fri,  6 Apr 2018 15:17:05 -0700	[thread overview]
Message-ID: <1523053025-12424-5-git-send-email-tianyang.chen@oracle.com> (raw)
In-Reply-To: <1523053025-12424-1-git-send-email-tianyang.chen@oracle.com>

A block of email options is added under the optional config section.

Suggested-by: Dhaval Giani <dhaval.giani@oracle.com>
Signed-off-by: Tim Tianyang Chen <tianyang.chen@oracle.com>
---
 tools/testing/ktest/sample.conf | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf
index 6c58cd8bbbae..ba3dd4a9c7fb 100644
--- a/tools/testing/ktest/sample.conf
+++ b/tools/testing/ktest/sample.conf
@@ -396,6 +396,28 @@
 
 #### Optional Config Options (all have defaults) ####
 
+# Email options for receiving notifications. Users must setup
+# the specified mailer prior to using this feature.
+#
+# (default undefined)
+#MAILTO =
+#
+# Supported mailers: sendmail, mail, mailx
+# (default sendmail)
+#MAILER = sendmail
+#
+# Errors are defined as those would terminate the script
+# (default 1)
+#EMAIL_ON_ERROR = 1
+# (default 1)
+#EMAIL_WHEN_FINISHED = 1
+# (default 0)
+#EMAIL_WHEN_STARTED = 1
+#
+# Users can cancel the test by Ctrl^C
+# (default 0)
+#EMAIL_WHEN_CANCELED = 1
+
 # Start a test setup. If you leave this off, all options
 # will be default and the test will run once.
 # This is a label and not really an option (it takes no value).
-- 
1.8.3.1

  parent reply	other threads:[~2018-04-06 22:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-06 22:17 [PATCH v3 0/4] ktest: add email support Tim Tianyang Chen
2018-04-06 22:17 ` [PATCH v3 1/4] " Tim Tianyang Chen
2018-04-06 22:17 ` [PATCH v3 2/4] ktest: add SigInt handling Tim Tianyang Chen
2018-04-06 22:17 ` [PATCH v3 3/4] ktest: use dodie for critical falures Tim Tianyang Chen
2018-04-06 22:17 ` Tim Tianyang Chen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-03-26 20:08 [PATCH v3 0/4] Ktest: add email support Tim Tianyang Chen
2018-03-26 20:08 ` [PATCH v3 4/4] Ktest: add email options to sample.config Tim Tianyang Chen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1523053025-12424-5-git-send-email-tianyang.chen@oracle.com \
    --to=tianyang.chen@oracle.com \
    --cc=dhaval.giani@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    --cc=tim.tianyang.chen@alumni.upenn.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®