[pacman-dev] new failing pactest file: sync1004.py

Nagy Gabor ngaba at bibl.u-szeged.hu
Sat Sep 29 07:00:35 EDT 2007


Hi!
I post this pactest as a motivation to review my patches ;-)
This is the rewrite of sync1003.py to a more common case.
Bye, ngaba
==sync1004.py==
self.description = "Induced removal would break dependency (2)"

sp1 = pmpkg("pkg1")
sp1.conflicts = [ "depend" ]
self.addpkg2db("sync", sp1)

sp2 = pmpkg("pkg2")
sp2.depends = ["depend"]
self.addpkg2db("sync", sp2)

lp = pmpkg("depend")
self.addpkg2db("local", lp)

self.args = "-S pkg1 pkg2"

self.addrule("PACMAN_RETCODE=1")
self.addrule("PKG_EXIST=depend")


----------------------------------------------------
SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu
This mail sent through IMP: http://horde.org/imp/





More information about the pacman-dev mailing list