[pacman-dev] CVS update of pacman-lib/pactest/tests (upgrade052.py)

Aaron Griffin aaron at archlinux.org
Tue Feb 27 03:29:02 EST 2007


    Date: Tuesday, February 27, 2007 @ 03:29:02
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/pactest/tests

Modified: upgrade052.py (1.1 -> 1.2)

* This test was off.  pactest doesn't do all the DB work, so we need to manually
  add the "requiredby" information that libalpm would have written.
  Now it succeeds.


---------------+
 upgrade052.py |    1 +
 1 file changed, 1 insertion(+)


Index: pacman-lib/pactest/tests/upgrade052.py
diff -u pacman-lib/pactest/tests/upgrade052.py:1.1 pacman-lib/pactest/tests/upgrade052.py:1.2
--- pacman-lib/pactest/tests/upgrade052.py:1.1	Mon Feb 26 20:34:08 2007
+++ pacman-lib/pactest/tests/upgrade052.py	Tue Feb 27 03:29:02 2007
@@ -6,6 +6,7 @@
 
 lp2 = pmpkg("pkg2")
 lp2.provides = ["imaginary", "real"]
+lp2.requiredby = [ "pkg1" ]
 self.addpkg2db("local", lp2)
 
 p = pmpkg("pkg2", "1.0-2")




More information about the pacman-dev mailing list