Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Phil Auld and committed by
Tejun Heo
54de76c0 5c26993c

+1 -1
+1 -1
tools/testing/selftests/cgroup/test_stress.sh
··· 1 1 #!/bin/bash 2 2 # SPDX-License-Identifier: GPL-2.0 3 3 4 - ./with_stress.sh -s subsys -s fork ./test_core 4 + ./with_stress.sh -s subsys -s fork ${OUTPUT}/test_core