[pacman-dev] [PATCH] New sync1005.py pactest
Nagy Gabor
ngaba at bibl.u-szeged.hu
Thu Nov 29 12:59:32 EST 2007
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")
----------------------------------------------------
SZTE Egyetemi Könyvtár - http://www.bibl.u-szeged.hu
This mail sent through IMP: http://horde.org/imp/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-New-sync1005.py-pactest.patch
Type: text/x-patch
Size: 995 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20071129/a3f18f8f/attachment.bin>
More information about the pacman-dev
mailing list