blob: 18569beabbfabdb7b45fa147871805ff3cdb6fd2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
self.description = "test deptest (-T) functionality"
lp1 = pmpkg("pkg1")
self.addpkg2db("local", lp1)
lp3 = pmpkg("pkg3", "2.0-1")
lp3.provides = ("prov=3.0")
self.addpkg2db("local", lp3)
self.args = "-T pkg1 pkg2 pkg3\>2.1 prov\>\=3.0"
self.addrule("PACMAN_RETCODE=127")
self.addrule("!PACMAN_OUTPUT=pkg1")
self.addrule("PACMAN_OUTPUT=pkg2")
self.addrule("PACMAN_OUTPUT=pkg3")
self.addrule("!PACMAN_OUTPUT=prov")
|