mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-22 13:33:56 +03:00
test: allow to call units/testsuite-02.sh from other scripts
This commit is contained in:
parent
1d5574516f
commit
85d3f13254
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user