Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest/tests/provision002.py
blob: fa5f3688bf478afbad3b8ec8a6338655a37191a1 (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")