mirror of
https://github.com/systemd/systemd.git
synced 2025-01-06 17:18:12 +03: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
|