]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
selftests/cgroup: use bash in test_cpuset_v1_hp.sh
authorBharadwaj Raju <bharadwaj.raju777@gmail.com>
Tue, 4 Feb 2025 19:29:53 +0000 (00:59 +0530)
committerTejun Heo <tj@kernel.org>
Tue, 4 Feb 2025 19:36:54 +0000 (09:36 -1000)
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>
tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh

index 3f45512fb512eb37eaeee1226be0d0c2b154c92d..7406c24be1ac99e71a987f3995fdd40f1bcbe6d6 100755 (executable)
@@ -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