projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c26993
)
kselftest/cgroup: fix test_stress.sh to use OUTPUT dir
author
Phil Auld
<pauld@redhat.com>
Thu, 12 May 2022 14:34:39 +0000
(10:34 -0400)
committer
Tejun Heo
<tj@kernel.org>
Thu, 12 May 2022 17:11:01 +0000
(07:11 -1000)
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
patch
|
blob
|
history
diff --git
a/tools/testing/selftests/cgroup/test_stress.sh
b/tools/testing/selftests/cgroup/test_stress.sh
index 15d9d58963941d2dffb1ffbfa2edf3b8b0ffe7fa..109c044f715f90d3b5a84cc463a5581716be816a 100755
(executable)
--- a/
tools/testing/selftests/cgroup/test_stress.sh
+++ b/
tools/testing/selftests/cgroup/test_stress.sh
@@
-1,4
+1,4
@@
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0
-./with_stress.sh -s subsys -s fork
.
/test_core
+./with_stress.sh -s subsys -s fork
${OUTPUT}
/test_core