Move important information up in -Si output
[pacman-ng.git] / test / pacman / tests / deptest001.py
blob620e4f5b542a22def6aa0e39d017eb5f60dc36cb
1 self.description = "test deptest (-T) functionality"
3 lp1 = pmpkg("pkg1")
4 self.addpkg2db("local", lp1)
6 lp3 = pmpkg("pkg3", "2.0-1")
7 lp3.provides = ("prov=3.0")
8 self.addpkg2db("local", lp3)
10 self.args = "-T pkg1 pkg2 pkg3\>2.1 prov\>\=3.0"
12 self.addrule("PACMAN_RETCODE=127")
13 self.addrule("!PACMAN_OUTPUT=^pkg1")
14 self.addrule("PACMAN_OUTPUT=^pkg2")
15 self.addrule("PACMAN_OUTPUT=^pkg3")
16 self.addrule("!PACMAN_OUTPUT=^prov")