Files
systemd/test/units/TEST-23-UNIT-FILE.sh
Paul Meyer d6154a4d4b test: run_subtests_and_exit helper
Replace the "run_subtests; touch /testok" tail with a single wrapper
invocation. Report the test itself as skipped if every subtest is
skipped.

Signed-off-by: Paul Meyer <katexochen0@gmail.com>
2026-08-14 16:00:49 +02:00

11 lines
305 B
Bash
Executable File

#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
# shellcheck source=test/units/test-control.sh
. "$(dirname "$0")"/test-control.sh
# Note: the signal shenanigans are necessary for the Upholds= tests
run_subtests_with_signals_and_exit SIGUSR1 SIGUSR2 SIGRTMIN+1