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)
committerTejun Heo <tj@kernel.org>
Thu, 12 May 2022 17:11:01 +0000 (07:11 -1000)
commit54de76c0123915e7533ce352de30a1f2d80fe81f
tree5c9b3c15766e3f7f6952f7e9ea7b4bc89de2d5cd
parent5c26993c31f0f726aa1f90158f17ec95069b7cb2
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>
tools/testing/selftests/cgroup/test_stress.sh