]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d52da6e4759ce6243f24e693130212e0136206c
tree5c9b3c15766e3f7f6952f7e9ea7b4bc89de2d5cd
parent3268f6f02b8bca716e8adfe9a9ec4f918e0aa426
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: ecd145bcf028 ("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