linux/tools/testing/selftests/cgroup
Waiman Long 85a2806c40 kseltest/cgroup: Make test_stress.sh work if run interactively
commit 213adc63df upstream.

Commit 54de76c012 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2022-06-09 10:23:30 +02:00
..
.gitignore tests/cgroup: test cgroup.kill 2021-05-10 10:41:11 -04:00
cgroup_util.c selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644 2022-04-13 20:59:27 +02:00
cgroup_util.h tests/cgroup: move cg_wait_for(), cg_prepare_for_wait() 2021-05-10 10:41:11 -04:00
Makefile tests/cgroup: test cgroup.kill 2021-05-10 10:41:11 -04:00
test_core.c selftests: cgroup: Test open-time cgroup namespace usage for migration checks 2022-04-13 20:59:27 +02:00
test_freezer.c tests/cgroup: move cg_wait_for(), cg_prepare_for_wait() 2021-05-10 10:41:11 -04:00
test_kill.c tests/cgroup: test cgroup.kill 2021-05-10 10:41:11 -04:00
test_kmem.c kselftests: cgroup: update kmem test for new vmstat implementation 2021-04-30 11:20:38 -07:00
test_memcontrol.c kselftest/cgroup: fix unexpected testing failure on test_memcontrol 2019-05-30 08:19:17 -06:00
test_stress.sh kseltest/cgroup: Make test_stress.sh work if run interactively 2022-06-09 10:23:30 +02:00
with_stress.sh selftests: cgroup: Run test_core under interfering stress 2019-10-07 07:11:54 -07:00