summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2021-07-31 16:57:16 +0000
committerGitHub <noreply@github.com>2021-07-31 16:57:16 +0000
commit5733cd222e8e268f61650ff8e52082afb39b8f04 (patch)
treee01174b11c1cc4978f299f91b9eae65642379bf7
parentaaf02cfbd41e7d7fbd009a4f01a0fa45b3e49f61 (diff)
parent9d33abac657fca66392e22a56a6d021173041b16 (diff)
downloadpodman-5733cd222e8e268f61650ff8e52082afb39b8f04.tar.gz
podman-5733cd222e8e268f61650ff8e52082afb39b8f04.tar.bz2
podman-5733cd222e8e268f61650ff8e52082afb39b8f04.zip
Merge pull request #11086 from hshiina/update-test
Fix auto-update system test for older systemd
-rw-r--r--test/system/255-auto-update.bats3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/system/255-auto-update.bats b/test/system/255-auto-update.bats
index 25eaba45b..6fb40f41e 100644
--- a/test/system/255-auto-update.bats
+++ b/test/system/255-auto-update.bats
@@ -261,7 +261,8 @@ EOF
systemctl enable --now podman-auto-update-$cname.timer
systemctl list-timers --all
- local expect='Finished Podman auto-update testing service'
+ # While systemd v245 and later uses 'Finished', older versions uses 'Started' for oneshot services
+ local expect='(Finished|Started) Podman auto-update testing service'
local failed_start=failed
local count=0
while [ $count -lt 120 ]; do