mirror of
https://github.com/systemd/systemd.git
synced 2025-02-28 05:57:33 +03:00
13 lines
345 B
Bash
Executable File
13 lines
345 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eux
|
|
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
|