Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / upgrade028.py
blob18a10f57bd41e3c6b15de2918ab5194c2c39ec06
1 self.description = "Upgrade a package, with a file entering the pkg in 'backup' (unchanged)"
3 self.filesystem = ["etc/dummy.conf"]
5 lp = pmpkg("dummy")
6 lp.files = ["usr/bin/dummy"]
7 self.addpkg2db("local", lp)
9 p = pmpkg("dummy", "1.0-2")
10 p.files = ["usr/bin/dummy",
11 "etc/dummy.conf"]
12 p.backup = ["etc/dummy.conf"]
13 self.addpkg(p)
15 self.args = "-U %s" % p.filename()
17 self.addrule("PACMAN_RETCODE=0")
18 self.addrule("PKG_VERSION=dummy|1.0-2")
19 self.addrule("!FILE_PACNEW=etc/dummy.conf")
20 self.addrule("!FILE_PACSAVE=etc/dummy.conf")
21 self.addrule("!FILE_PACORIG=etc/dummy.conf")
22 self.addrule("FILE_EXIST=etc/dummy.conf")