]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/units/testsuite-51.sh
tests: add spdx headers to scripts and Makefiles
[thirdparty/systemd.git] / test / units / testsuite-51.sh
CommitLineData
bb924478 1#!/usr/bin/env bash
7b3cec95 2# SPDX-License-Identifier: LGPL-2.1-or-later
084575ff 3set -eux
bb924478
AZ
4set -o pipefail
5
6systemctl start testsuite-51-repro-1
7systemctl start testsuite-51-repro-2
8sleep 5 # wait a bit in case there are restarts so we can count them below
9
10[[ "$(systemctl show testsuite-51-repro-1 -P NRestarts)" == "0" ]]
11[[ "$(systemctl show testsuite-51-repro-2 -P NRestarts)" == "0" ]]
12
13touch /testok