Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / sync-nodepversion05.py
blobbc048db6a4936e96cbc3f02f8034ca78da04f2fe
1 self.description = "nodepversion: -Sud works"
3 p1 = pmpkg("pkg1", "1.0-1")
4 p1.depends = ["provision=1.0"]
5 self.addpkg2db("local", p1)
7 p2 = pmpkg("pkg2", "1.0-1")
8 p2.provides = ["provision=1.0"]
9 self.addpkg2db("local", p2)
11 sp2 = pmpkg("pkg2", "1.1-1")
12 sp2.provides = ["provision=1.1"]
13 self.addpkg2db("sync", sp2)
15 self.args = "-Sud"
17 self.addrule("PACMAN_RETCODE=0")
18 self.addrule("PKG_VERSION=pkg1|1.0-1")
19 self.addrule("PKG_VERSION=pkg2|1.1-1")