diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2021-06-23 11:31:21 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2021-07-13 13:52:46 +0200 |
commit | db26e1ef947188bd4d5716ed7712171306ff7f66 (patch) | |
tree | 107161d3c5f74f2add6ea146c7d952baffcb8e62 /test/system/255-auto-update.bats | |
parent | 4458d2230e31c963e740a78878d593cfe6e2f0a5 (diff) | |
download | podman-db26e1ef947188bd4d5716ed7712171306ff7f66.tar.gz podman-db26e1ef947188bd4d5716ed7712171306ff7f66.tar.bz2 podman-db26e1ef947188bd4d5716ed7712171306ff7f66.zip |
auto-update: make restarted unit more obvious
The output of auto-update leaves quite some space for improvements. One
thing is to make it more obvious which systemd units were restarted.
With this change, the output looks as follows:
```
$ podman auto-update
Trying to pull...
Restarted the following systemd units:
$unit-1
$unit-2
$unit-3
```
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'test/system/255-auto-update.bats')
-rw-r--r-- | test/system/255-auto-update.bats | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/system/255-auto-update.bats b/test/system/255-auto-update.bats index 3713243d5..cce8973fc 100644 --- a/test/system/255-auto-update.bats +++ b/test/system/255-auto-update.bats @@ -123,6 +123,8 @@ function _confirm_update() { _wait_service_ready container-$cname.service run_podman auto-update is "$output" "Trying to pull.*" "Image is updated." + is "$output" ".*Restarted the following systemd units: +container-$cname.service" "Systemd unit has been restarted" _confirm_update $cname $ori_image } |