Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / upgrade016.py
blobb6b3f3ae9d81b5801be965c1ebdc0dcf95cb2b28
1 self.description = "Install a package with an existing file (--force, new modified)"
3 p = pmpkg("dummy")
4 p.files = ["etc/dummy.conf*"]
5 p.backup = ["etc/dummy.conf"]
6 self.addpkg(p)
8 self.filesystem = ["etc/dummy.conf"]
10 self.args = "-U --force %s" % p.filename()
12 self.addrule("PACMAN_RETCODE=0")
13 self.addrule("PKG_EXIST=dummy")
14 self.addrule("FILE_MODIFIED=etc/dummy.conf")
15 self.addrule("!FILE_PACNEW=etc/dummy.conf")
16 self.addrule("FILE_PACORIG=etc/dummy.conf")