summaryrefslogtreecommitdiffstats
path: root/pactest/tests
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-27 09:29:02 +0100
committerAaron Griffin <aaron@archlinux.org>2007-02-27 09:29:02 +0100
commit67ff30b869afd4fe2de484d7ce1d22b9bcebab3a (patch)
tree362d87e8937ba8941b58d09823781d12fe59996f /pactest/tests
parentf2ade9ab0de9ca5e71835c9a20114702844090d6 (diff)
downloadpacman-67ff30b869afd4fe2de484d7ce1d22b9bcebab3a.tar.gz
pacman-67ff30b869afd4fe2de484d7ce1d22b9bcebab3a.tar.xz
* 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.
Diffstat (limited to 'pactest/tests')
-rw-r--r--pactest/tests/upgrade052.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pactest/tests/upgrade052.py b/pactest/tests/upgrade052.py
index 84480f51..98ffe3aa 100644
--- a/pactest/tests/upgrade052.py
+++ b/pactest/tests/upgrade052.py
@@ -6,6 +6,7 @@ self.addpkg2db("local", lp1)
lp2 = pmpkg("pkg2")
lp2.provides = ["imaginary", "real"]
+lp2.requiredby = [ "pkg1" ]
self.addpkg2db("local", lp2)
p = pmpkg("pkg2", "1.0-2")