summaryrefslogtreecommitdiff
path: root/test/pacman/tests/unresolvable001.py
blob: 4e5da6f38d975992773cd6e92f79db772475e06d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
self.description = "An unresolvable dependency"

packageA1 = pmpkg("dep")
self.addpkg2db("local", packageA1)

packageA1up = pmpkg("dep", "2.0-1")
packageA1up.depends = ["fake"];
self.addpkg2db("sync", packageA1up)

packageA2up = pmpkg("package")
packageA2up.depends = ["dep"];
self.addpkg2db("sync", packageA2up)

self.args = "-S package dep --ask=16"

self.addrule("PACMAN_RETCODE=0")
self.addrule("PKG_EXIST=package")
self.addrule("PKG_EXIST=dep")
self.addrule("PKG_VERSION=dep|1.0-1")