Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / upgrade011.py
blobd8ed8734344ffe1a06a15bdf47b61459af6c8e05
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"]
5 self.addpkg(p)
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")