Received: by 10.213.65.68 with SMTP id h4csp936849imn; Fri, 6 Apr 2018 11:29:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+JiQ6Gtd7Ial+igL8Zigc2rlAkckZB0dpcl/heXT5oerEZ4h9gNdHn5R6yRSraZjc+Tbts X-Received: by 10.98.133.212 with SMTP id m81mr21356731pfk.61.1523039347591; Fri, 06 Apr 2018 11:29:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523039347; cv=none; d=google.com; s=arc-20160816; b=niAqqVo3kLGZxuD7JrdlWBGbwdiNbgpkhFUsIJaIwrJO+tGJHoU5lsBWWfAYPzpJTI 9OPprd1NFIwhhyMF1WQQ2HfXIQSLWM5LrthQV4X1DgNCh4mpv1bxPiJUjhJwuMGVvhoy MmYu1bcht2Z5X9SBOZqPr4yKZTA2ilc/WGPVe4tupn4bq5lT0lF5gsM3eTgbNfsvgye1 u5pdX/e6JO2ZrOI272jXUlPrEFFcU4dY2KYauC5CUqL2/pDznW1xu9EF2gwe+LVrtXY0 u1alRg/vvm7ybWibRCsl9af1SYUQ8PFg52IIOg4im2Gk6RDiyRJNNiJY1UA/Tp093P6g bJ1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=zuUk5FQj7ek5AZ4ELJJR/ZG4t4gSaCHnYLIA3Bll8v0=; b=U8gGIJgoU5gFX6v9Iy4IlvDXMLDnWEil1nsrb2ufyWz/rPSJhYstE3Em9hFmbjdsP1 EowCb9ITWXdXT/9DK6PYsbRpoXKG1ZjOuEl3uHhhAkjtAMM8rnhAArhB69AjHwf/U2oO Ax+IwC+KqYGoeAJEL850Ry6WDj4lAu1MOnHDK79f8nTQuhILhKzfmu1EfzAld2B+vF4S dTeaDV6t6arqUpHQNvwwblXONw4yIka9gyojNeSEYyzZTrVxe6Lt28VbakxDRHDNMN9P /TjZ4qKcQzzb59MmonEkf1K435ap5A5nPy2isHBxTsd5oMIBWD0QRqtZHzqkKtX39vvL Pbzw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w34-v6si8876487pla.319.2018.04.06.11.28.30; Fri, 06 Apr 2018 11:29:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751573AbeDFSYN (ORCPT + 99 others); Fri, 6 Apr 2018 14:24:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:41150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbeDFSYM (ORCPT ); Fri, 6 Apr 2018 14:24:12 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CCFDC21720; Fri, 6 Apr 2018 18:24:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CCFDC21720 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Fri, 6 Apr 2018 14:24:09 -0400 From: Steven Rostedt To: Tim Tianyang Chen Cc: linux-kernel@vger.kernel.org, dhaval.giani@oracle.com Subject: Re: [PATCH v3 1/4] Ktest: add email support Message-ID: <20180406142409.6d98254b@gandalf.local.home> In-Reply-To: <1522094884-22718-2-git-send-email-tianyang.chen@oracle.com> References: <1522094884-22718-1-git-send-email-tianyang.chen@oracle.com> <1522094884-22718-2-git-send-email-tianyang.chen@oracle.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- Steve > @@ -22,6 +22,11 @@ my %evals; > >