1
0
mirror of https://github.com/systemd/systemd.git synced 2025-01-06 17:18:12 +03:00
systemd/test/units/testsuite-04.sh
2023-06-14 20:28:20 +02:00

18 lines
310 B
Bash
Executable File

#!/usr/bin/env bash
# SPDX-License-Identifier: LGPL-2.1-or-later
set -eux
set -o pipefail
# Limit the maximum journal size
trap "journalctl --rotate --vacuum-size=16M" EXIT
# shellcheck source=test/units/test-control.sh
. "$(dirname "$0")"/test-control.sh
: >/failed
run_subtests
touch /testok
rm /failed