[pacman-dev] -Se pactest

James Rosten seinfeld90 at gmail.com
Tue Mar 20 19:00:47 EDT 2007


Not sure if you guys want this, but I guess it can't hurt.  It's a
pactest for -Se, which failed with RC2 (as expected) and passed with
CVS (also as expected).

sync1001.py (yeah for weird number scheming that I still don't get! :P,
haha) is below.

~ Jamie / yankees26

Signed-off-by: James Rosten <seinfeld90 at gmail.com>

--- RANDOM_ROOT_FOR_p1_USAGE/dev/null   2007-03-20 13:49:34.000000000 -0400
+++ NEW/pactest/tests/sync1001.py 2007-03-20 18:55:00.000000000 -0400
@@ -0,0 +1,18 @@
+self.description = "Test -Se"
+
+sp1 = pmpkg("dummy")
+sp1.depends = [ "dep1", "dep2" ]
+self.addpkg2db("sync", sp1)
+
+sp2 = pmpkg("dep1")
+self.addpkg2db("sync", sp2)
+
+sp3 = pmpkg("dep2")
+self.addpkg2db("sync", sp3)
+
+self.args = "-Se dummy"
+
+self.addrule("PACMAN_RETCODE=0")
+self.addrule("PKG_EXIST=dep1")
+self.addrule("PKG_EXIST=dep2")
+self.addrule("!PKG_EXIST=dummy")





More information about the pacman-dev mailing list