Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / sync134.py
blobad58c8b7c581f17315cb4e94682018f1ca541478
1 self.description = "Sysupgrade with a set of sync packages replacing a local one"
3 sp1 = pmpkg("pkg2")
4 sp1.replaces = ["pkg1"]
6 sp2 = pmpkg("pkg3")
7 sp2.replaces = ["pkg1"]
9 for p in sp1, sp2:
10 self.addpkg2db("sync", p)
12 lp = pmpkg("pkg1")
14 self.addpkg2db("local", lp)
16 self.args = "-Su"
18 self.addrule("PACMAN_RETCODE=0")
19 self.addrule("!PKG_EXIST=pkg1")
20 for p in sp1, sp2:
21 self.addrule("PKG_EXIST=%s" % p.name)