Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / upgrade006.py
blob5e5173b54182288441a720ed41a35d05fbae12a7
1 self.description = "Upgrade a package with several files"
3 lp = pmpkg("dummy")
4 lp.files = ["usr/share/file_%d" % n for n in range(250, 750)]
5 self.addpkg2db("local", lp)
7 p = pmpkg("dummy", "1.1-1")
8 p.files = ["usr/share/file_%d" % n for n in range(600, 1000)]
9 self.addpkg(p)
11 self.args = "-U %s" % p.filename()
13 self.addrule("PACMAN_RETCODE=0")
14 self.addrule("PKG_VERSION=dummy|1.1-1")
15 self.addrule("!FILE_EXIST=usr/share/file_250")
16 self.addrule("!FILE_EXIST=usr/share/file_599")
17 self.addrule("FILE_EXIST=usr/share/file_600")
18 self.addrule("FILE_EXIST=usr/share/file_999")