mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 17:51:22 +03:00
084575ff91
This should make the scripts more robust.
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
|