]> 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)
commit901eee66e5ba9eaf5e2f494aeb9bfd53c1c10c6d
tree5c9b3c15766e3f7f6952f7e9ea7b4bc89de2d5cd
parentdcb37050cd7ca08890d58944c710a7c15e948916
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: bcbd111c8440 ("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