Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / sync041.py
blob328728e27f3d61ecf730d4007a0fd13ea2b9f9cc
1 self.description = "Install two conflicting targets"
3 sp1 = pmpkg("pkg1")
4 sp1.conflicts = ["pkg2"]
6 sp2 = pmpkg("pkg2")
7 sp2.conflicts = ["pkg1"]
9 for p in sp1, sp2:
10 self.addpkg2db("sync", p);
12 self.args = "-S %s" % " ".join([p.name for p in sp1, sp2])
14 self.addrule("PACMAN_RETCODE=1")
15 self.addrule("!PKG_EXIST=pkg1")
16 self.addrule("!PKG_EXIST=pkg2")