summaryrefslogtreecommitdiff
path: root/pactest/tests/sync1005.py
blob: 4fa8247858f63c94048430b5407231f162ffaa84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
self.description = "Conflicting package names in sync repos"

sp1 = pmpkg("pkg")
sp1.provides = [ "provision1" ]
self.addpkg2db("sync1", sp1)

sp2 = pmpkg("pkg")
sp2.provides = [ "provision2" ]
self.addpkg2db("sync2", sp2)

self.args = "-S provision1 provision2"

self.addrule("PACMAN_RETCODE=1")
self.addrule("!PKG_EXIST=pkg")