Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / sync012.py
blob3aaba376fb8aa937bd016e44e722be096ae0e113
1 self.description = "Install packages from a sync db with circular dependencies"
3 sp1 = pmpkg("pkg1")
4 sp1.depends = ["pkg2"]
6 sp2 = pmpkg("pkg2")
7 sp2.depends = ["pkg3"]
9 sp3 = pmpkg("pkg3")
10 sp3.depends = ["pkg1"]
12 for p in sp1, sp2, sp3:
13 self.addpkg2db("sync", p);
15 self.args = "-S %s" % sp1.name
17 self.addrule("PACMAN_RETCODE=0")
18 self.addrule("PKG_EXIST=pkg1")
19 self.addrule("PKG_EXIST=pkg2")
20 self.addrule("PKG_EXIST=pkg3")