mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
15bbc0c107
Also, instead of bailing out on the first failed subtest, always run all subtests and print a summary at the end (with an appropriate exit code).
16 lines
334 B
Bash
Executable file
16 lines
334 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
set -eux
|
|
set -o pipefail
|
|
|
|
: >/failed
|
|
|
|
# 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 SIGUSR1 SIGUSR2 SIGRTMIN+1
|
|
|
|
touch /testok
|
|
rm /failed
|