mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
* s/sys-upgrade/sysupgrade/
* changelog fragment
* yamllint
* more fragment tweaks
(cherry picked from commit b9f62bb4ef
)
Co-authored-by: Jean Raby <jean@raby.sh>
This commit is contained in:
parent
2622513d65
commit
8e9a348e92
3 changed files with 6 additions and 3 deletions
3
changelogs/fragments/4275-pacman-sysupgrade.yml
Normal file
3
changelogs/fragments/4275-pacman-sysupgrade.yml
Normal 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).
|
|
@ -410,7 +410,7 @@ class Pacman(object):
|
||||||
cmd = [
|
cmd = [
|
||||||
self.pacman_path,
|
self.pacman_path,
|
||||||
"--sync",
|
"--sync",
|
||||||
"--sys-upgrade",
|
"--sysupgrade",
|
||||||
"--quiet",
|
"--quiet",
|
||||||
"--noconfirm",
|
"--noconfirm",
|
||||||
]
|
]
|
||||||
|
|
|
@ -365,7 +365,7 @@ class TestPacman:
|
||||||
# for real
|
# for real
|
||||||
False,
|
False,
|
||||||
{
|
{
|
||||||
"args": ["pacman", "--sync", "--sys-upgrade", "--quiet", "--noconfirm"],
|
"args": ["pacman", "--sync", "--sysupgrade", "--quiet", "--noconfirm"],
|
||||||
"return_value": [0, "stdout", "stderr"],
|
"return_value": [0, "stdout", "stderr"],
|
||||||
},
|
},
|
||||||
None,
|
None,
|
||||||
|
@ -377,7 +377,7 @@ class TestPacman:
|
||||||
"args": [
|
"args": [
|
||||||
"pacman",
|
"pacman",
|
||||||
"--sync",
|
"--sync",
|
||||||
"--sys-upgrade",
|
"--sysupgrade",
|
||||||
"--quiet",
|
"--quiet",
|
||||||
"--noconfirm",
|
"--noconfirm",
|
||||||
"--some",
|
"--some",
|
||||||
|
|
Loading…
Reference in a new issue