aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/ktest/sample.conf
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2018-04-06 16:38:56 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-04-07 20:16:08 -0400
commitbe1546b87f3b60f107b8f8dfef0e268cc12792f1 (patch)
treed17a0a57f3e8959d7a4f49fdf4e083b8ab4aa4a6 /tools/testing/ktest/sample.conf
parentktest.pl: No need to print no mailer is specified when mailto is not (diff)
downloadlinux-dev-be1546b87f3b60f107b8f8dfef0e268cc12792f1.tar.xz
linux-dev-be1546b87f3b60f107b8f8dfef0e268cc12792f1.zip
ktest.pl: Add MAIL_PATH option to define where to find the mailer
The option MAIL_PATH lets the user decide how to find the mailer they are using. For example, sendmail is usually located in /usr/sbin but is not always in the path of non admin users. Have ktest look through the user's PATH environment variable (adding /usr/sbin) as well, but if that's not good enough, allow the user to define where to find the mailer. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org> squash to mail exec Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to '')
-rw-r--r--tools/testing/ktest/sample.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf
index d1a2626aaa0a..86e7cffc45c0 100644
--- a/tools/testing/ktest/sample.conf
+++ b/tools/testing/ktest/sample.conf
@@ -411,6 +411,10 @@
# (default sendmail)
#MAILER = sendmail
#
+# The executable to run
+# (default: for sendmail "/usr/sbin/sendmail", otherwise equals ${MAILER})
+#MAIL_EXEC = /usr/sbin/sendmail
+#
# Errors are defined as those would terminate the script
# (default 1)
#EMAIL_ON_ERROR = 1