mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
test: support TEST_MATCH_* stuff in TEST-23-UNIT-FILE as well
TEST-23 uses run_subtests_with_signals() which I forgot about when
introducing the change.
Follow-up for 0efa27bd4b.
This commit is contained in:
@@ -86,6 +86,11 @@ run_subtests_with_signals() {
|
||||
_trap_with_sig _handle_signal "$@"
|
||||
|
||||
for subtest in "${subtests[@]}"; do
|
||||
if [[ -n "${TEST_MATCH_SUBTEST:-}" ]] && ! [[ "$subtest" =~ $TEST_MATCH_SUBTEST ]]; then
|
||||
echo "Skipping $subtest (not matching '$TEST_MATCH_SUBTEST')"
|
||||
continue
|
||||
fi
|
||||
|
||||
: "--- $subtest BEGIN ---"
|
||||
SECONDS=0
|
||||
"./$subtest" &
|
||||
|
||||
Reference in New Issue
Block a user