mirror of
https://github.com/containers/podman.git
synced 2025-06-24 11:28:24 +08:00
Merge pull request #12950 from edsantiago/systemd_250
System tests: fix for new systemd on rawhide
This commit is contained in:
@ -373,8 +373,10 @@ EOF
|
|||||||
systemctl enable --now podman-auto-update-$cname.timer
|
systemctl enable --now podman-auto-update-$cname.timer
|
||||||
systemctl list-timers --all
|
systemctl list-timers --all
|
||||||
|
|
||||||
# While systemd v245 and later uses 'Finished', older versions uses 'Started' for oneshot services
|
# systemd <245 displays 'Started Podman auto-update ...'
|
||||||
local expect='(Finished|Started) Podman auto-update testing service'
|
# 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 failed_start=failed
|
||||||
local count=0
|
local count=0
|
||||||
while [ $count -lt 120 ]; do
|
while [ $count -lt 120 ]; do
|
||||||
|
Reference in New Issue
Block a user