Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / upgrade013.py
blob5a327599c8b2c370f0db985fe0838a85ad925694
1 self.description = "Install two packages with a conflicting file"
3 p1 = pmpkg("dummy")
4 p1.files = ["bin/dummy",
5 "usr/man/man1/dummy.1",
6 "usr/common"]
8 p2 = pmpkg("foobar")
9 p2.files = ["bin/foobar",
10 "usr/man/man1/foobar.1",
11 "usr/common"]
13 for p in p1, p2:
14 self.addpkg(p)
16 self.args = "-U %s" % " ".join([p.filename() for p in p1, p2])
18 self.addrule("PACMAN_RETCODE=1")
19 self.addrule("!PKG_EXIST=dummy")
20 self.addrule("!PKG_EXIST=foobar")