diff options
author | Phil Auld <pauld@redhat.com> | 2022-05-12 10:34:39 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2022-05-12 07:11:01 -1000 |
commit | 54de76c0123915e7533ce352de30a1f2d80fe81f (patch) | |
tree | 5c9b3c15766e3f7f6952f7e9ea7b4bc89de2d5cd /tools/testing/selftests/cgroup | |
parent | 5c26993c31f0f726aa1f90158f17ec95069b7cb2 (diff) | |
download | linux-stable-54de76c0123915e7533ce352de30a1f2d80fe81f.tar.gz linux-stable-54de76c0123915e7533ce352de30a1f2d80fe81f.tar.bz2 linux-stable-54de76c0123915e7533ce352de30a1f2d80fe81f.zip |
kselftest/cgroup: fix test_stress.sh to use OUTPUT dir
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>
Diffstat (limited to 'tools/testing/selftests/cgroup')
-rwxr-xr-x | tools/testing/selftests/cgroup/test_stress.sh | 2 |
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 |