Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / replace103.py
blob538d1033cd27a1a7552a54e6f74cc24ee4bf7357
1 self.description = "Sysupgrade with a replace on a provider"
3 sp1 = pmpkg("util-linux", "2.19.1-2")
4 sp1.provides = ["util-linux-ng=2.19.1"]
5 sp1.conflicts = ["util-linux-ng"]
6 sp1.replaces = ["util-linux-ng"]
7 self.addpkg2db("sync", sp1)
9 sp2 = pmpkg("util-linux-git", "20110811-1")
10 sp2.replaces = ["util-linux-ng"]
11 sp2.conflicts = ["util-linux-ng", "util-linux"]
12 sp2.provides = ["util-linux", "util-linux-ng"]
13 self.addpkg2db("local", sp2)
15 self.args = "-Su"
17 self.addrule("PACMAN_RETCODE=0")
18 self.addrule("PKG_EXIST=util-linux-git")
19 self.addrule("!PKG_EXIST=util-linux")