Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / sync899.py
blobfd3080509cbb856bcb14c42698ab4287204c3deb
1 self.description = "System upgrade - conflict/provide with an installed package"
3 sp1 = pmpkg("pkg1", "1.0-2")
4 sp1.conflicts = ["pkg2"]
5 sp1.provides = ["pkg2"]
6 self.addpkg2db("sync", sp1);
8 lp1 = pmpkg("pkg1")
9 self.addpkg2db("local", lp1)
11 lp2 = pmpkg("pkg2")
12 self.addpkg2db("local", lp2)
14 self.args = "-Su --ask=4"
16 self.addrule("PACMAN_RETCODE=0")
17 self.addrule("PKG_EXIST=pkg1")
18 self.addrule("!PKG_EXIST=pkg2")