mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-14 21:35:02 -05:00
Add sync301 pactest- pacman gains new deps and should be pulled in
Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
7653bb9399
commit
0e4c1e86ed
25
pactest/tests/sync301.py
Normal file
25
pactest/tests/sync301.py
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
self.description = "Sysupgrade : pacman needs to be upgraded and has new deps"
|
||||||
|
|
||||||
|
sp = pmpkg("pacman", "1.0-2")
|
||||||
|
sp.depends = ["dep"]
|
||||||
|
self.addpkg2db("sync", sp)
|
||||||
|
|
||||||
|
spdep = pmpkg("dep")
|
||||||
|
self.addpkg2db("sync", spdep)
|
||||||
|
|
||||||
|
sp1 = pmpkg("pkg1", "1.0-2")
|
||||||
|
self.addpkg2db("sync", sp1)
|
||||||
|
|
||||||
|
lp = pmpkg("pacman", "1.0-1")
|
||||||
|
self.addpkg2db("local", lp)
|
||||||
|
|
||||||
|
lp1 = pmpkg("pkg1", "1.0-1")
|
||||||
|
self.addpkg2db("local", lp1)
|
||||||
|
|
||||||
|
self.args = "-Su"
|
||||||
|
|
||||||
|
self.addrule("PACMAN_RETCODE=0")
|
||||||
|
self.addrule("PKG_EXIST=pacman")
|
||||||
|
self.addrule("PKG_VERSION=pacman|1.0-2")
|
||||||
|
self.addrule("PKG_EXIST=dep")
|
||||||
|
self.addrule("PKG_REQUIREDBY=dep|pacman")
|
Loading…
Reference in New Issue
Block a user