[Frugalware-darcs] pacman-g2: pactest/tests/remove033.py: new testcase

VMiklos vmiklos at frugalware.org
Mon Jun 25 13:02:04 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman-g2;a=darcs_commitdiff;h=20070624124917-e2957-d1bd03567e169d18c8eb330164674cbee223a1de.gz;

[pactest/tests/remove033.py: new testcase
VMiklos <vmiklos at frugalware.org>**20070624124917] {
addfile ./pactest/tests/remove033.py
hunk ./pactest/tests/remove033.py 1
+self.description = "Remove a package having a common depend."
+
+p1 = pmpkg("kdelibs", "1.0-1")
+p1.requiredby = ['foo']
+self.addpkg2db("local", p1)
+
+p2 = pmpkg("kfoo")
+p2.depends = ["kdelibs"]
+self.addpkg2db("local", p2)
+
+self.args = "-R %s" % p2.name
+
+self.addrule("PKG_REQUIREDBY=kdelibs|foo")
}


More information about the Frugalware-darcs mailing list