Received: by 10.213.65.68 with SMTP id h4csp1718685imn; Mon, 26 Mar 2018 13:16:36 -0700 (PDT) X-Google-Smtp-Source: AG47ELsctuglScfLJeqndD5LGqvyTh7YGZ8zomczIU7nJOonYd5Yhce58HoLRl/d6XZEOWoChjYB X-Received: by 2002:a17:902:144:: with SMTP id 62-v6mr42664197plb.202.1522095396768; Mon, 26 Mar 2018 13:16:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522095396; cv=none; d=google.com; s=arc-20160816; b=qBKAU7vFsUWMR4pnu6gGuW7IfcqyNVDRmxIIlY1cI0+VEaE2l+gylwveYpQK7RjY6t 3f25jTgs/gZ1F3s4KtjSD1egiSdSqy46XAb3sAfu8bHglj14uCn0vlOJNsnnePTfljQk q1TGS+Xlg0jj63Kc4YlM+6y5rNYAaqINZdBFHYHW/x7Pkor4KZ4/Kw/dfBU//eNEUCnN 30k653MoxcGZFHWLKGQGD25Bdw/5MgEEJDzCB+0su6R/PhF7jwets3fx36342la1Ltat API/3icwelVzL6PPELXz4NbPlJZLTxHXBNDSgpZ6rDtQMeHlasBguO1BamGNnS5vU2Np hGsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=gL6qnHpj1+daZ8iGWqNtWoMoUzRN3JAulNbpreRIXmg=; b=BOcYPPDbv7iIDOJEZG29l8GVLDD7uDSf6/N59iNMcIQ7A0+8KSkhYg8khF8JmalATn 8bAfHDf7LPIHyKy6syeutdNiSm9IuqSLX7dCCG0cBfR4UfgF4UlsnvWbpz1sNfJw6Jhm WGobmtjZK1gr5+dK10NzoWvE+T5uj2IoQSkObhbgsL0bwC1fBy0K9wu5ESivHgdXeVhH kQLDjqJM1ltD7xePZSdP9f02slrv58+l4J8TDuxELMOZtVyy9aYGZPhv2RLDU/pLAXOb IPdRiTGA0FKO2fK6OcTC6q51/rvjVZQ0mCGcALudKqbsaq8NFCiANMYtNkbp66Wunowz +EcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=hz6CQq8U; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a4si10631387pgd.452.2018.03.26.13.16.22; Mon, 26 Mar 2018 13:16:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=hz6CQq8U; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752135AbeCZUNy (ORCPT + 99 others); Mon, 26 Mar 2018 16:13:54 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:39918 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751115AbeCZUNw (ORCPT ); Mon, 26 Mar 2018 16:13:52 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w2QK3oaN022190; Mon, 26 Mar 2018 20:13:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=corp-2017-10-26; bh=gL6qnHpj1+daZ8iGWqNtWoMoUzRN3JAulNbpreRIXmg=; b=hz6CQq8U7T1StTwdyLK5Qd9bWTWAVvILK7fTUyBR6Rq3lw+p6pjQXfdv2OPUCJoZmHXs UBM7/Ld/pKhjzV3JKwaaD4CrnX90iPaFEngGUVDC1u1H4h7WGNqAca7+GKSkWq6BbA+f yUhxOyhjImOfFqAykFGbp/qi2Bqrk19rvspj3xSqPy0NNw903QgxAExpKbSI+PbO5hxF fQYhJfOGM17FNiI3b3mL+rmcXBenprrr9VgGq82nHZXQGGzemvwX8qSnNHYFXonU9Rx7 8yrQv0nhPI7HUL1yLbgJLfP9x6i6sYHqPDq36vVZT8cUDIXvORy5nfBzaAaLXzunUZ0M Xw== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2gy7jn01w1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Mar 2018 20:13:50 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w2QK8neD003490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 26 Mar 2018 20:08:50 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w2QK8n8g011991; Mon, 26 Mar 2018 20:08:49 GMT Received: from titichen-linux.us.oracle.com (/10.211.54.111) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 26 Mar 2018 13:08:49 -0700 From: Tim Tianyang Chen To: rostedt@goodmis.org Cc: linux-kernel@vger.kernel.org, dhaval.giani@oracle.com Subject: [PATCH v3 4/4] Ktest: add email options to sample.config Date: Mon, 26 Mar 2018 13:08:04 -0700 Message-Id: <1522094884-22718-5-git-send-email-tianyang.chen@oracle.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1522094884-22718-1-git-send-email-tianyang.chen@oracle.com> References: <1522094884-22718-1-git-send-email-tianyang.chen@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8844 signatures=668695 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1803260203 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A block of email options is added under the optional config section. Suggested-by: Dhaval Giani Signed-off-by: Tim Tianyang Chen --- Changes since v2: Added comments and defaults for each option --- sample.conf | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/sample.conf b/sample.conf index 6c58cd8bbbae..ba3dd4a9c7fb 100644 --- a/sample.conf +++ b/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). -- 2.15.1