Skip to content

Commit fd07912

Browse files
bharadwaj-rajuhtejun
authored andcommitted
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 <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
1 parent b69bb47 commit fd07912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/bin/bash
22
# SPDX-License-Identifier: GPL-2.0
33
#
44
# Test the special cpuset v1 hotplug case where a cpuset become empty of

0 commit comments

Comments
 (0)