summaryrefslogtreecommitdiff
path: root/tools
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 /tools
parentb69bb476dee99d564d65d418e9a20acca6f32c3f (diff)
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>
Diffstat (limited to 'tools')
-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