summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-51.sh
blob: 246412a07986bbd31fff1ff405d9114637307820 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
set -ex
set -o pipefail

systemctl start testsuite-51-repro-1
systemctl start testsuite-51-repro-2
sleep 5 # wait a bit in case there are restarts so we can count them below

[[ "$(systemctl show testsuite-51-repro-1 -P NRestarts)" == "0" ]]
[[ "$(systemctl show testsuite-51-repro-2 -P NRestarts)" == "0" ]]

touch /testok