Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest/tests/conflict003.py
blob: 7205086a553ccdfde7c853a182ae65b12e8aa2b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
self.description = "conflict with version (no conflict)"

p = pmpkg("pkg1")
p.conflicts = ["pkg2=1.0-2"]
self.addpkg(p);

lp = pmpkg("pkg2", "1.0-1")
self.addpkg2db("local", lp)

self.args = "-A %s" % p.filename() 
self.addrule("PACMAN_RETCODE=0")
self.addrule("PKG_EXIST=pkg1")
self.addrule("PKG_EXIST=pkg2")