]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Mar 2025 19:54:16 +0000 (12:54 -0700)
commit08fde08784809e82fb65f6cc21a7ccd68e24ef0e
tree11f651211b824d3262ebb6b44f682a1425838bf8
parentfb019cf04211aade21b525cb2efdec61fb00bc7b
selftests/cgroup: use bash in test_cpuset_v1_hp.sh

[ 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 <bharadwaj.raju777@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/cgroup/test_cpuset_v1_hp.sh