1 self
.description
= "Sysupgrade with same version, different epochs"
3 sp
= pmpkg("dummy", "2:2.0-1")
4 sp
.files
= ["bin/dummynew"]
5 self
.addpkg2db("sync", sp
)
7 lp
= pmpkg("dummy", "1:2.0-1")
8 lp
.files
= ["bin/dummyold"]
9 self
.addpkg2db("local", lp
)
13 self
.addrule("PACMAN_RETCODE=0")
14 self
.addrule("PKG_VERSION=dummy|2:2.0-1")
15 self
.addrule("FILE_EXIST=bin/dummynew")
16 self
.addrule("!FILE_EXIST=bin/dummyold")