blob: cf88e8a907a132845ad913d043015fd8b619ea22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
self.description = "File conflict with an installed package"
lp = pmpkg("foobar")
lp.files = ["conflicting-file"]
self.addpkg2db("local", lp)
p1 = pmpkg("pkg1")
p1.files = ["conflicting-file"]
self.addpkg(p1)
self.args = "-U %s" % (p1.filename())
self.addrule("!PACMAN_RETCODE=0")
self.addrule("PKG_EXIST=foobar")
self.addrule("!PKG_EXIST=pkg1")
self.addrule("FILE_EXIST=conflicting-file")
self.addrule("PACMAN_OUTPUT=foobar")
|