summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPhil Auld <pauld@redhat.com>2022-05-12 17:34:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-09 11:21:07 +0300
commit1472fb1c744792c011569c07b79896c74324ee94 (patch)
treee1b19d0fb5634096b9343a9207bd06d16865d631 /tools
parentcacea459f95be22b3750f3b25b7a1c5897a68206 (diff)
downloadlinux-1472fb1c744792c011569c07b79896c74324ee94.tar.xz
kselftest/cgroup: fix test_stress.sh to use OUTPUT dir
[ Upstream commit 54de76c0123915e7533ce352de30a1f2d80fe81f ] Running cgroup kselftest with O= fails to run the with_stress test due to hardcoded ./test_core. Find test_core binary using the OUTPUT directory. Fixes: 1a99fcc035fb ("selftests: cgroup: Run test_core under interfering stress") Signed-off-by: Phil Auld <pauld@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/testing/selftests/cgroup/test_stress.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/cgroup/test_stress.sh b/tools/testing/selftests/cgroup/test_stress.sh
index 15d9d5896394..109c044f715f 100755
--- a/tools/testing/selftests/cgroup/test_stress.sh
+++ b/tools/testing/selftests/cgroup/test_stress.sh
@@ -1,4 +1,4 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
-./with_stress.sh -s subsys -s fork ./test_core
+./with_stress.sh -s subsys -s fork ${OUTPUT}/test_core