summaryrefslogtreecommitdiff
path: root/pactest/tests/provision002.py
blob: 32bc4b8d4f51d722ee1eccf56255780aed86aaa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
self.description = "-S provision"

sp = pmpkg("pkg1")
sp.provides = ["provision=1.0-1"]
self.addpkg2db("sync", sp)

sp = pmpkg("pkg2")
sp.provides = ["provision=1.0-1"]
self.addpkg2db("sync", sp)

self.args = "-S provision"

self.addrule("PACMAN_RETCODE=1")
self.addrule("!PKG_EXIST=pkg1")
self.addrule("!PKG_EXIST=pkg2")