Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / sync502.py
blob5cc42c9f31354c4c8ae9b37ee26e7af865576b98
1 self.description = "Install a package from a sync db with fnmatch'ed NoExtract"
3 sp = pmpkg("dummy")
4 sp.files = ["bin/dummy",
5 "usr/share/man/man8",
6 "usr/share/man/man1/dummy.1"]
7 self.addpkg2db("sync", sp)
9 self.option["NoExtract"] = ["usr/share/man/*"]
11 self.args = "-S %s" % sp.name
13 self.addrule("PACMAN_RETCODE=0")
14 self.addrule("PKG_EXIST=dummy")
15 self.addrule("FILE_EXIST=bin/dummy")
16 self.addrule("!FILE_EXIST=usr/share/man/man8")
17 self.addrule("!FILE_EXIST=usr/share/man/man1/dummy.1")