kselftest/cgroup: fix test_stress.sh to use OUTPUT dir
authorPhil Auld <pauld@redhat.com>
Thu, 12 May 2022 14:34:39 +0000 (10:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:22:57 +0000 (10:22 +0200)
commit7fc8f4717e394f0c9b231cfe37c54744b4f03725
tree7466fb5bfbd76161779fc2829edbf67ca2b6efc2
parentd63ffecd11368d1d40dd63330b6dfaeb828b1115
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>
tools/testing/selftests/cgroup/test_stress.sh