diff options
author | Luca Boccassi <luca.boccassi@microsoft.com> | 2021-06-21 19:46:44 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@microsoft.com> | 2021-06-21 19:47:38 +0100 |
commit | 85d3f132545b0170da04331a209910509b1a7cbc (patch) | |
tree | fa243d5d28356b8debdd92c481c51738c1fe47f5 /test | |
parent | 1d5574516f71c730f4a6618294a3949d2ca4cd3e (diff) | |
download | systemd-85d3f132545b0170da04331a209910509b1a7cbc.tar.gz |
test: allow to call units/testsuite-02.sh from other scripts
Diffstat (limited to 'test')
-rwxr-xr-x | test/units/testsuite-02.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/units/testsuite-02.sh b/test/units/testsuite-02.sh index bf9a65972f..b16e8547ab 100755 --- a/test/units/testsuite-02.sh +++ b/test/units/testsuite-02.sh @@ -4,7 +4,8 @@ set -o pipefail NPROC=$(nproc) MAX_QUEUE_SIZE=${NPROC:-2} -mapfile -t TEST_LIST < <(find /usr/lib/systemd/tests/ -maxdepth 1 -type f -name "test-*") +TESTS_GLOB=${TESTS_GLOB:-test-*} +mapfile -t TEST_LIST < <(find /usr/lib/systemd/tests/ -maxdepth 1 -type f -name "${TESTS_GLOB}") # reset state rm -fv /failed-tests /skipped-tests /skipped |