summaryrefslogtreecommitdiff
path: root/test/system
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2022-01-20 11:28:41 -0700
committerEd Santiago <santiago@redhat.com>2022-01-20 11:28:41 -0700
commit47df14af529dde9057e35ad0d0c77ca7b22813f3 (patch)
treeb9d0fad4297474a4b42709096474ff7a482c5f02 /test/system
parent76ba0df6020f477a17a19b5ea69d46edaf085e28 (diff)
downloadpodman-47df14af529dde9057e35ad0d0c77ca7b22813f3.tar.gz
podman-47df14af529dde9057e35ad0d0c77ca7b22813f3.tar.bz2
podman-47df14af529dde9057e35ad0d0c77ca7b22813f3.zip
System tests: fix for new systemd on rawhide
systemd 250 on f36 has changed the output format of a message our tests rely on. This breaks bodhi gating tests. Fix test so it accepts a continually-growing set of systemd outputs. Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/system')
-rw-r--r--test/system/255-auto-update.bats6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/system/255-auto-update.bats b/test/system/255-auto-update.bats
index 7540270bd..5a8bf4218 100644
--- a/test/system/255-auto-update.bats
+++ b/test/system/255-auto-update.bats
@@ -373,8 +373,10 @@ EOF
systemctl enable --now podman-auto-update-$cname.timer
systemctl list-timers --all
- # While systemd v245 and later uses 'Finished', older versions uses 'Started' for oneshot services
- local expect='(Finished|Started) Podman auto-update testing service'
+ # systemd <245 displays 'Started Podman auto-update ...'
+ # systemd 245 - <250 displays 'Finished Podman auto-update ...'
+ # systemd 250 - ???? displays 'Finished <unit name> - Podman auto-...'
+ local expect='(Started|Finished.*) Podman auto-update testing service'
local failed_start=failed
local count=0
while [ $count -lt 120 ]; do