aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBharadwaj Raju <bharadwaj.raju777@gmail.com>2025-02-05 00:59:53 +0530
committerTejun Heo <tj@kernel.org>2025-02-04 09:36:54 -1000
commitfd079124112c6e11c1bca2e7c71470a2d60bc363 (patch)
tree5b73b02c87e717f1b9ffa2906bfa2613f49c3a1f
parentcgroup: fix race between fork and cgroup.kill (diff)
downloadwireguard-linux-fd079124112c6e11c1bca2e7c71470a2d60bc363.tar.xz
wireguard-linux-fd079124112c6e11c1bca2e7c71470a2d60bc363.zip
selftests/cgroup: use bash in test_cpuset_v1_hp.sh
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 <bharadwaj.raju777@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
-rwxr-xr-xtools/testing/selftests/cgroup/test_cpuset_v1_hp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh b/tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh
index 3f45512fb512..7406c24be1ac 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