Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / sync897.py
blob8a1c5a7c60d86d6abecc48d12bce8c6cd3943d2f
1 self.description = "System upgrade with package conflicts"
3 sp1 = pmpkg("pkg1", "1.0-2")
4 sp1.conflicts = ["pkg2", "pkg3"]
5 self.addpkg2db("sync", sp1);
7 sp2 = pmpkg("pkg2", "1.0-2")
8 self.addpkg2db("sync", sp2)
10 lp1 = pmpkg("pkg1")
11 self.addpkg2db("local", lp1)
13 lp2 = pmpkg("pkg2")
14 self.addpkg2db("local", lp2)
16 lp3 = pmpkg("pkg3")
17 self.addpkg2db("local", lp3)
19 self.args = "-Su --ask=4"
21 self.addrule("PACMAN_RETCODE=1")
22 self.addrule("PKG_EXIST=pkg1")
23 self.addrule("PKG_EXIST=pkg2")
24 self.addrule("PKG_EXIST=pkg3")