Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3076478ybt; Mon, 22 Jun 2020 14:27:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIwuwAzR8hAVr9FFuYJMCZOJ34c1E3nwjLW55j6j7hVPSLtG0FQzdHSPpF2okxbsEblu1R X-Received: by 2002:a05:6402:3135:: with SMTP id dd21mr18210693edb.110.1592861230063; Mon, 22 Jun 2020 14:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592861230; cv=none; d=google.com; s=arc-20160816; b=VGjXStJTdX1VZwjTXgaGU0mN2bcaJRrsH8guLKGGgbQ9bwzmoOMEEOBM5Cd/U5fZBz Dh5Uq1LPn2zE5PwEbalns2gGpjGSCDdBkl6Ex3s31//sM4El2Jp5IIieV7jjeybwO1rU NN0Iw4AzJcZPIFbyyEG5/ch32Zs8S/K4PBF1xaa9cQUXwVgYVBn1qm6ZSEpbcgthO2/u vA+YY1xAQPsWcK9WK6NKeCGjfZwqEcZBhgd5b5U9/txtXfuWqCz2/fr9YIq9C4O9b5cU Zv1x4i2InnckurY0T264JRMf4QnMSU+Y/zX/QPjj3h9bEhhKFZIOVsTo40VS7GvmJzs9 A3xA== 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:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=9mxc+nqs14ZIH2UEMg877uwi6hmM2j4gsJoaDtiDmFg=; b=JWFps+NiAkpuw38KAzF5Eci+tt0Q7h69QNjp4Df8on0EhTKtjV9cQcMxkh7mRBhQvk JxvaJlu6Cl24R0tsDT4BxGaL2RbuOUbTDogSrWfz2s4oVgiz5EZsUa+2nCd+NJmGczL2 aWeS5WWoCxUUGfs9Mc4FpregTPxgiK0wY1NmPdgHsmvxxHQ+lNRjjuKeD1MJEtqMKkwQ M037vVgk1dnu90uOXhiSbHDR+1UrG7DEBtCNwuTzuSDZk9DW8AemQ+Kl42qOAuRDxMFJ 3xMvkUHCMfiKUqWvxb+JsZR51RuLer1+SEfX9Zn4PnZZ+D66F7hqD5X1wAsou9VMK5AD vY6A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z26si5802738edx.269.2020.06.22.14.26.46; Mon, 22 Jun 2020 14:27:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730626AbgFVVXb (ORCPT + 99 others); Mon, 22 Jun 2020 17:23:31 -0400 Received: from mga12.intel.com ([192.55.52.136]:2469 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730460AbgFVVXa (ORCPT ); Mon, 22 Jun 2020 17:23:30 -0400 IronPort-SDR: dpFSCi1544XuAKCIGfSov51p5HubZ1RFSF97AyqncOx3jTg3Mhm3x0Mc1afnj6ftv87YqcasMo G96M1rx0B1Eg== X-IronPort-AV: E=McAfee;i="6000,8403,9660"; a="123548596" X-IronPort-AV: E=Sophos;i="5.75,268,1589266800"; d="scan'208";a="123548596" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2020 14:23:29 -0700 IronPort-SDR: YU7fP6RdkdXBthLv3FK4h2DNntPCXOCmcZe053PnGOAcQrgdaPS3xyaH4oySFH+lnqaZBSospj 70roBrLzBkVw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,268,1589266800"; d="scan'208";a="278894306" Received: from scheller-mobl.ger.corp.intel.com (HELO localhost) ([10.252.33.117]) by orsmga006.jf.intel.com with ESMTP; 22 Jun 2020 14:23:25 -0700 From: Jarkko Sakkinen To: Shuah Khan Cc: pengfei.xu@intel.com, Jarkko Sakkinen , stable@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kselftest@vger.kernel.org, Tadeusz Struk , Nikita Sobolev , Petr Vorel , Joey Pabalinas , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 3/3] selftests: tpm: Use /bin/sh instead of /bin/bash Date: Tue, 23 Jun 2020 00:20:22 +0300 Message-Id: <20200622212034.20624-4-jarkko.sakkinen@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200622212034.20624-1-jarkko.sakkinen@linux.intel.com> References: <20200622212034.20624-1-jarkko.sakkinen@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It's better to use /bin/sh instead of /bin/bash in order to run the tests in the BusyBox shell. Fixes: 6ea3dfe1e073 ("selftests: add TPM 2.0 tests") Cc: stable@vger.kernel.org Cc: linux-integrity@vger.kernel.org Cc: linux-kselftest@vger.kernel.org Signed-off-by: Jarkko Sakkinen --- tools/testing/selftests/tpm2/test_smoke.sh | 2 +- tools/testing/selftests/tpm2/test_space.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/tpm2/test_smoke.sh b/tools/testing/selftests/tpm2/test_smoke.sh index 338d6b0272dc..1334e301d2a0 100755 --- a/tools/testing/selftests/tpm2/test_smoke.sh +++ b/tools/testing/selftests/tpm2/test_smoke.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) # Kselftest framework requirement - SKIP code is 4. diff --git a/tools/testing/selftests/tpm2/test_space.sh b/tools/testing/selftests/tpm2/test_space.sh index 847cabb20a5f..00259cb746cf 100755 --- a/tools/testing/selftests/tpm2/test_space.sh +++ b/tools/testing/selftests/tpm2/test_space.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh # SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) # Kselftest framework requirement - SKIP code is 4. -- 2.25.1