Received: by 10.213.65.68 with SMTP id h4csp51524imn; Fri, 6 Apr 2018 15:25:54 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/FpsLLNfL3D31niLh73cJY16kTOffu+qdNZDeWIwPHKnWl/d1snPNAcRswWR0WfBf8cqZZ X-Received: by 10.99.95.84 with SMTP id t81mr18030015pgb.400.1523053554168; Fri, 06 Apr 2018 15:25:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523053554; cv=none; d=google.com; s=arc-20160816; b=EKJegsZndT9tJMc2lYPUMlslU7BKhRxUAXR6TDke7uKpg2dBsLL32pOZMt7MZIONFO bYhSLkRt9G24iPHlkWHq6mvlbJnNwDrave+Sz0pUT7yll4tjPLV6aMm077R6RpEkBvh4 LAiA77P8Q31JBGuAfwKnyREMVa0+qjBMVa+fcxRKiqk0Co3Q7fO1C2fT0MxLXtreCxbX bBfbSK8hEwKRs1yiTWwVK8S89h3q4spg2kgECOuGEnorjvXEWfWQgd+KUIR2NCuX0wue 02Z2WX2C2YuljfgJ2iBEqAHTc3nBl3TgBIVwNsjFlxxTJaRn6AOlbPf/C5LkQfY30wLh l3/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :dkim-signature:arc-authentication-results; bh=+5CsctHmES4YYS3/M5djQ5lNcD2ShXsmA5isUoTzJ2o=; b=olxSLk1hpvKUfB4Tg1Np9qOTHE+jv8iEZ7sGVi+oWBYY5JxtSyteZN3vmwn0eC8hVj VRzgjmQjmKpN+I5EO2VX/bHbRKoVeC7OKntub46lz3b7Dl5+W855ckqNso5Fc4kbu2cX O27idCJiBcZvt0RGAvw/bHloX8mesapB4M6PsW7+eR53Ef2TBnDBMaLBcEjlImApAg49 aRu2Wf31xqq7I0Ye5r6jRQJxXcD1I7Z/r7T9M7bBm6jHem1ExIc4FG8B5K2gvZVoSfRP ZbYard9nonBaQoV1bx4ocCgtMBJ4GAMHtaFRXnjmEYGG7FE2e3znv/tQZLUQmS+7hwna c6Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=wHNz9jTQ; 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 g7si227243pfi.310.2018.04.06.15.25.15; Fri, 06 Apr 2018 15:25:54 -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=wHNz9jTQ; 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 S1752793AbeDFWT6 (ORCPT + 99 others); Fri, 6 Apr 2018 18:19:58 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:46452 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752117AbeDFWT5 (ORCPT ); Fri, 6 Apr 2018 18:19:57 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w36M5w7k181718; Fri, 6 Apr 2018 22:19:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=+5CsctHmES4YYS3/M5djQ5lNcD2ShXsmA5isUoTzJ2o=; b=wHNz9jTQ+w7ci4uC1f6FD7+jvxAmK9H6I4hPo8WZzRZTTFE61KeBK6XhG1i5kO3ZIwyX fS4HdpjN14V8G77jVEUNkvtglLApBC9vazftp3skpN2WfK4KC0m9Zvl0YIXRRdjkKdCr nN3zeVN6/Rxkp39d75VlnVD1MPvCpQvHoVxFvveCHZptIDIpFdcjG7VmY41BtH0eNtvS myDStJnPWz4H2e9gPVZ4mi7X0bL2KXhZbOP+kE2vYSz3iyCm6L8mplBi6uLGp2K3JDu6 GxWscBphxckjWCZvT1RTPIqpg6o3xLXx8sLE5ZmPSGHHJuytb2U1NKfxYkCJC1jvbRU3 mQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2h5k57xx6m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 06 Apr 2018 22:19:55 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w36MJsJX024152 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 6 Apr 2018 22:19:54 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w36MJrc3031106; Fri, 6 Apr 2018 22:19:54 GMT Received: from [10.211.54.111] (/10.211.54.111) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 06 Apr 2018 22:19:53 +0000 Subject: Re: [PATCH v3 1/4] Ktest: add email support To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, dhaval.giani@oracle.com References: <1522094884-22718-1-git-send-email-tianyang.chen@oracle.com> <1522094884-22718-2-git-send-email-tianyang.chen@oracle.com> <20180406142409.6d98254b@gandalf.local.home> From: Tim Tianyang Chen Organization: Oracle Corporation Message-ID: Date: Fri, 6 Apr 2018 15:19:48 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180406142409.6d98254b@gandalf.local.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8855 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 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-1804060222 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 >> Signed-off-by: Tim Tianyang Chen >> >> --- >> 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 > Sorry I was working on my private folder, version tracked with other stuff. Just re-sent them. Tim