summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-23.Upholds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/units/testsuite-23.Upholds.sh')
-rwxr-xr-xtest/units/testsuite-23.Upholds.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/units/testsuite-23.Upholds.sh b/test/units/testsuite-23.Upholds.sh
index bce4d7205b..e62f9c64de 100755
--- a/test/units/testsuite-23.Upholds.sh
+++ b/test/units/testsuite-23.Upholds.sh
@@ -46,7 +46,7 @@ rm -f /tmp/testsuite-23-retry-fail
systemctl start testsuite-23-retry-uphold.service
systemctl is-active testsuite-23-upheldby-install.service
-while ! systemctl is-failed testsuite-23-retry-fail.service ; do
+until systemctl is-failed testsuite-23-retry-fail.service ; do
sleep .5
done
@@ -54,7 +54,7 @@ done
touch /tmp/testsuite-23-retry-fail
-while ! systemctl is-active testsuite-23-retry-upheld.service ; do
+until systemctl is-active testsuite-23-retry-upheld.service ; do
sleep .5
done