Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / sync150.py
blobb62bd984417c429dd8f5625360ffa8f10e42ef8d
1 self.description = "-Su foo"
3 sp1 = pmpkg("pkg1", "1.0-2")
4 sp1.depends = ["pkg2"]
6 sp2 = pmpkg("pkg2")
7 sp2.depends = ["pkg3"]
9 sp3 = pmpkg("pkg3")
11 sp4 = pmpkg("pkg4")
13 for p in sp1, sp2, sp3, sp4:
14 self.addpkg2db("sync", p)
16 lp1 = pmpkg("pkg1")
17 self.addpkg2db("local", lp1)
19 self.args = "-Su %s" % sp4.name
21 self.addrule("PACMAN_RETCODE=0")
22 self.addrule("PKG_VERSION=pkg1|1.0-2")
23 for p in sp2, sp3:
24 self.addrule("PKG_REASON=%s|1" % p.name)
25 self.addrule("PKG_REASON=%s|0" % sp4.name)