1 self
.description
= "Upgrade a package with several files"
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)]
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")