History log of /linux-master/tools/testing/selftests/cgroup/test_stress.sh
Revision Date Author Comments
# 213adc63 13-May-2022 Waiman Long <longman@redhat.com>

kseltest/cgroup: Make test_stress.sh work if run interactively

Commit 54de76c01239 ("kselftest/cgroup: fix test_stress.sh to use OUTPUT
dir") changes the test_core command path from . to $OUTPUT. However,
variable OUTPUT may not be defined if the command is run interactively.
Fix that by using ${OUTPUT:-.} to cover both cases.

Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>


# 54de76c0 12-May-2022 Phil Auld <pauld@redhat.com>

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>


# 1a99fcc0 03-Oct-2019 Michal Koutný <mkoutny@suse.com>

selftests: cgroup: Run test_core under interfering stress

test_core tests various cgroup creation/removal and task migration
paths. Run the tests repeatedly with interfering noise (for lockdep
checks). Currently, forking noise and subsystem enabled/disabled
switching are the implemented noises.

Signed-off-by: Michal Koutný <mkoutny@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>