1 self
.description
= "An unresolvable dependency"
3 packageA1
= pmpkg("dep")
4 self
.addpkg2db("local", packageA1
)
6 packageA1up
= pmpkg("dep", "2.0-1")
7 packageA1up
.depends
= ["fake"];
8 self
.addpkg2db("sync", packageA1up
)
10 packageA2up
= pmpkg("package")
11 packageA2up
.depends
= ["dep"];
12 self
.addpkg2db("sync", packageA2up
)
14 self
.args
= "-S package dep --ask=32"
16 self
.addrule("PACMAN_RETCODE=0")
17 self
.addrule("PKG_EXIST=package")
18 self
.addrule("PKG_EXIST=dep")
19 self
.addrule("PKG_VERSION=dep|1.0-1")
21 self
.expectfailure
= True