Received: by 2002:ac0:8845:0:0:0:0:0 with SMTP id g63csp1254354img; Tue, 26 Feb 2019 17:40:35 -0800 (PST) X-Google-Smtp-Source: AHgI3IamvEAeQbq1WP5roeO7KsGBhS6KXuj9+HMcbZqG2smuGxTOFQx4X3fk6kCk8uKM4irF/6ww X-Received: by 2002:a63:6a48:: with SMTP id f69mr445453pgc.7.1551231635428; Tue, 26 Feb 2019 17:40:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551231635; cv=none; d=google.com; s=arc-20160816; b=S+znKN8vK4eCcg0WJeW4V7AEcfs7TZeYnCXr8tihceegVEMMxXPriHprmg+fDYrLG6 /+HDliBWo86QmaPMUMEARQxMwzR8SFjTTkpDkUaxfvKHdlpsK03A5AVuaJPTdTciJxac SPpbdnlr7vIM3zYt1SfbfczlGk7mOLbIFf8ucEVAh4wFtkcOovrMZJCirRj1n3ICZJ7t tndjGBjxvemaI8sRfvw3Ctiv/vjr7cD7oIuI+EmCPN9Zcu1csJM3o+4bnGBIMX/a8nc1 ugNsVxrNfrKKD/4Dp7KxSLVyPfxsgULQh0hasbS8PKGqdJBDsjw/3OEjN4RZbHAnhQnX WYEQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=84ESamkSxc2XEbIJTzjhiAuoB1hqORqNKJ+etf2eGow=; b=OgBpDvhscoMfZHd/dLntrX3eUr5V75zZjXZlhAldLDN/pLbc1QQFB4MHLpZU9+Pi0O JzwefqhdacvYaY8HzqLzBaHFJA4+caKvfY3U7m92rm/PxGeKCCfaCv970k1/QxvinzFX +AOdg9r/S2ikA96Q62SdFe/ERsDAQqB35GL9TRg6mQNyy8O7nP4Rur4MvZl+2/AClfO+ /eEIV8CkF41EDDXtHNTJNNv5nzncH5gscL7VVtN89CuuNFiC9FvtZ+Zn95H/+TsyqQSD 9hMV2UJuZ78Ys1W1uUv2lYhNmvpF5RmL3Gfx102VljfDNLfYHcQYWspHz9YOOupNx9M2 Vpbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xM8lNt5T; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t71si12828948pgd.550.2019.02.26.17.40.20; Tue, 26 Feb 2019 17:40:35 -0800 (PST) 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=@kernel.org header.s=default header.b=xM8lNt5T; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729522AbfB0Bj7 (ORCPT + 99 others); Tue, 26 Feb 2019 20:39:59 -0500 Received: from mail.kernel.org ([198.145.29.99]:41672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729187AbfB0Bj7 (ORCPT ); Tue, 26 Feb 2019 20:39:59 -0500 Received: from [192.168.1.112] (c-24-9-64-241.hsd1.co.comcast.net [24.9.64.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8E01E218D8; Wed, 27 Feb 2019 01:39:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1551231598; bh=pyn7sKv/4MDDxpHvsYd0zxnS5CrV2/9VPUf3yt+quxY=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=xM8lNt5TRQ/fxGQhC0NsDsa6fcWnk1lg8CNsor0+VJ0rB3H4u5XlNrXN+INoLmbzP JRHRtDa0UQif6kpIxkh9Go+kZgsQrjvz2j8dpHhG6zxANb0LXdBlWP9HzV8ytwYEc7 3C1U3KQf8xXg4Mur4dVmYq6UuXi5/utAV5SYOVVA= Subject: Re: [PATCH v2 3/5] selftests/ima: define common logging functions To: Mimi Zohar , linux-kselftest@vger.kernel.org Cc: linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, shuah References: <1551223620-11586-1-git-send-email-zohar@linux.ibm.com> <1551223620-11586-4-git-send-email-zohar@linux.ibm.com> From: shuah Message-ID: <69140d9c-7e76-9ef7-31af-65208a126f4b@kernel.org> Date: Tue, 26 Feb 2019 18:39:57 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <1551223620-11586-4-git-send-email-zohar@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/26/19 4:26 PM, Mimi Zohar wrote: > Define log_info, log_pass, log_fail, and log_skip functions. > > Suggested-by: Petr Vorel > Signed-off-by: Mimi Zohar > --- > tools/testing/selftests/ima/common_lib.sh | 43 +++++++++++++++++++++++--- > tools/testing/selftests/ima/test_kexec_load.sh | 19 +++--------- > 2 files changed, 43 insertions(+), 19 deletions(-) > > diff --git a/tools/testing/selftests/ima/common_lib.sh b/tools/testing/selftests/ima/common_lib.sh > index 5583ea74c14e..c6d04006281d 100755 > --- a/tools/testing/selftests/ima/common_lib.sh > +++ b/tools/testing/selftests/ima/common_lib.sh > @@ -1,5 +1,36 @@ > #!/bin/sh > # SPDX-License-Identifier: GPL-2.0-or-later Same here: # SPDX-License-Identifier: GPL-2.0 thanks, -- Shuah