pacman: fix upgrade: yes (#4275)

* s/sys-upgrade/sysupgrade/

* changelog fragment

* yamllint

* more fragment tweaks
This commit is contained in:
Jean Raby
2022-02-23 11:24:14 -05:00
committed by GitHub
parent 2b0b780ccb
commit b9f62bb4ef
3 changed files with 6 additions and 3 deletions

View File

@@ -0,0 +1,3 @@
bugfixes:
- pacman - fix ``upgrade=yes``
(https://github.com/ansible-collections/community.general/pull/4275, https://github.com/ansible-collections/community.general/issues/4274).

View File

@@ -410,7 +410,7 @@ class Pacman(object):
cmd = [
self.pacman_path,
"--sync",
"--sys-upgrade",
"--sysupgrade",
"--quiet",
"--noconfirm",
]

View File

@@ -365,7 +365,7 @@ class TestPacman:
# for real
False,
{
"args": ["pacman", "--sync", "--sys-upgrade", "--quiet", "--noconfirm"],
"args": ["pacman", "--sync", "--sysupgrade", "--quiet", "--noconfirm"],
"return_value": [0, "stdout", "stderr"],
},
None,
@@ -377,7 +377,7 @@ class TestPacman:
"args": [
"pacman",
"--sync",
"--sys-upgrade",
"--sysupgrade",
"--quiet",
"--noconfirm",
"--some",