From: Phil Auld Date: Thu, 12 May 2022 14:34:39 +0000 (-0400) Subject: kselftest/cgroup: fix test_stress.sh to use OUTPUT dir X-Git-Tag: v5.15.73~3594 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7fc8f4717e394f0c9b231cfe37c54744b4f03725;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Tejun Heo Signed-off-by: Sasha Levin --- diff --git a/tools/testing/selftests/cgroup/test_stress.sh b/tools/testing/selftests/cgroup/test_stress.sh index 15d9d58..109c044 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