[pacman-dev] [PATCH] New sync1005.py pactest

Nagy Gabor ngaba at bibl.u-szeged.hu
Fri Nov 30 14:14:05 EST 2007


> On Nov 29, 2007 11:59 AM, Nagy Gabor <ngaba at bibl.u-szeged.hu> wrote:
> > Hi!
> > Patch attached.
> > Note: I found an issue in resolvedeps, it simply pulls both pkg1s with
> this
> > pactest (debug log), but the pactest doesn't fail [I don't know why]:
> >
> > ---sync1006.py---
> > self.description = "Conflicting package names in sync repos (2)"
> >
> > sp1 = pmpkg("pkg1")
> > sp1.provides = [ "provision1" ]
> > self.addpkg2db("sync1", sp1)
> >
> > sp2 = pmpkg("pkg1")
> > sp2.provides = ["provision2"]
> > self.addpkg2db("sync2", sp2)
> >
> > sp3 = pmpkg("pkg2")
> > sp3.depends = ["provision1", "provision2"]
> > self.addpkg2db("sync1", sp3)
> >
> > self.args = "-S pkg2"
> >
> > self.addrule("PACMAN_RETCODE=1")
> > self.addrule("!PKG_EXIST=pkg1")
> > self.addrule("!PKG_EXIST=pkg2")
> 
> This might simply be a pactest flaw... what happens if each pkg1 has
> versions?
The same. 




----------------------------------------------------
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