mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
New pactest: unresolvable001.py
To test the regression of commit eada558e12
.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
eada558e12
commit
0e7ba6bddd
21
pactest/tests/unresolvable001.py
Normal file
21
pactest/tests/unresolvable001.py
Normal file
@ -0,0 +1,21 @@
|
||||
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=32"
|
||||
|
||||
self.addrule("PACMAN_RETCODE=0")
|
||||
self.addrule("PKG_EXIST=package")
|
||||
self.addrule("PKG_EXIST=dep")
|
||||
self.addrule("PKG_VERSION=dep|1.0-1")
|
||||
|
||||
self.expectfailure = True
|
Loading…
Reference in New Issue
Block a user