Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / sync402.py
blob6d82f735dbc2e6901ce8dab4b3a03fe2152fb0be
1 self.description = "Choice between two providers (1)"
3 sp1 = pmpkg("pkg1")
4 sp1.depends = ["dep"]
5 self.addpkg2db("sync", sp1)
7 sp2 = pmpkg("pkg2")
8 sp2.provides = ["dep"]
9 self.addpkg2db("sync", sp2)
11 sp3 = pmpkg("pkg3")
12 sp3.conflicts = ["pkg1"]
13 sp3.provides = ["dep"]
14 self.addpkg2db("sync", sp3)
16 self.args = "-S pkg1"
18 self.addrule("PACMAN_RETCODE=0")
19 self.addrule("PKG_EXIST=pkg1")
20 self.addrule("PKG_EXIST=pkg2")
21 self.addrule("!PKG_EXIST=pkg3")