From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5741B1DDA3E; Tue, 18 Feb 2025 20:25:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739910319; cv=none; b=s+nDPliZnJP4ML/ke8oNDVakiI6UMnLiri1xKI2cCDdw2yxEVqk5Z+5oBQyeckWFzxIT9YVARM9iAa8vQqZRAjQCaUo8EpFTg6KNbrwPULdAhafAd+/daum0Y0sNcX+/wJpm9X4MXFTWRrX/nI36VzUHa0+Wkhc8Ruv8yXVgt8w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739910319; c=relaxed/simple; bh=yk4IHKgNucYwIFhp/9zpYS3LX2NtKHju5BD07hNAIMg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BrEojNIzpqcOTAaDWJoSEyrJL679s/yOD9tfq63dUxDhObYUADF+7kzFUH2WXfg8FkssFFTl2edayjdEnDR2qwrRaV97Z5NdcYtj6nXlYn09FoJIqL0iEwN8tl0Y/5tggNRE96ws5cshM67OdCzsPDHOZErXbU7u0675DdGYLDM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TbKJy47N; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TbKJy47N" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E49CC4CEE9; Tue, 18 Feb 2025 20:25:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1739910319; bh=yk4IHKgNucYwIFhp/9zpYS3LX2NtKHju5BD07hNAIMg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TbKJy47NCeFdVThrCd9OqVbnGnIJTpPgMeXScNZW4o3+8mhEaG+qXO3k33tGxAFZx He6Vpy/zyDN2C9vVsY0H5u3ISJJYakXWxCAByvZjjSRUwwRffTmiYtO1xoc2SDhDnB ka+9pSOPjtW8oxvuZP966q5hfo6DkOpXKuAXdCzLqaaxujtCw/u2+40bq/1KOFL0Ad LhMDQ/31ujJaPYSwBhn607wA+q1LBAetEt0X5kr3BF6CaKBva9m/cv7zs/07hfAMba p8ZA2rZ+0DYzCC3JK38bQAjtWo6GVEtv5BA1sfxB3NnLLMQCauR1fBiTpKIqUkHYxn EJka1QYZNlOsg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Bharadwaj Raju , Tejun Heo , Sasha Levin , hannes@cmpxchg.org, mkoutny@suse.com, shuah@kernel.org, cgroups@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH AUTOSEL 6.13 09/31] selftests/cgroup: use bash in test_cpuset_v1_hp.sh Date: Tue, 18 Feb 2025 15:24:29 -0500 Message-Id: <20250218202455.3592096-9-sashal@kernel.org> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250218202455.3592096-1-sashal@kernel.org> References: <20250218202455.3592096-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.13.3 Content-Transfer-Encoding: 8bit From: Bharadwaj Raju [ Upstream commit fd079124112c6e11c1bca2e7c71470a2d60bc363 ] The script uses non-POSIX features like `[[` for conditionals and hence does not work when run with a POSIX /bin/sh. Change the shebang to /bin/bash instead, like the other tests in cgroup. Signed-off-by: Bharadwaj Raju Signed-off-by: Tejun Heo Signed-off-by: Sasha Levin --- tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh b/tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh index 3f45512fb512e..7406c24be1ac9 100755 --- a/tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh +++ b/tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # SPDX-License-Identifier: GPL-2.0 # # Test the special cpuset v1 hotplug case where a cpuset become empty of -- 2.39.5