1 self
.description
= "Upgrade a package with a filesystem conflict"
3 p
= pmpkg("dummy", "2.0-1")
4 p
.files
= ["bin/dummy", "usr/share/file"]
7 lp
= pmpkg("dummy", "1.0-1")
8 lp
.files
= ["bin/dummy"]
9 self
.addpkg2db("local", lp
)
11 self
.filesystem
= ["usr/share/file"]
13 self
.args
= "-U %s" % p
.filename()
15 self
.addrule("PACMAN_RETCODE=1")
16 self
.addrule("PKG_VERSION=dummy|1.0-1")