diff options
author | 2022-05-13 15:09:28 -0400 | |
---|---|---|
committer | 2022-05-13 09:33:21 -1000 | |
commit | 213adc63dfbcdff9a0c19ec1f2681fda9c05cf6d (patch) | |
tree | 6c1802737419f803a61b9f9dab9978a1c0fe1d72 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kselftest/cgroup: fix test_stress.sh to use OUTPUT dir (diff) | |
download | linux-dev-213adc63dfbcdff9a0c19ec1f2681fda9c05cf6d.tar.xz linux-dev-213adc63dfbcdff9a0c19ec1f2681fda9c05cf6d.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions