index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2007-06-26 12:00:22 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-06-26 12:00:22 -0400 |
commit | 0e4c1e86ed16c4793b9521e8152b30cc166aae68 (patch) | |
tree | fdccf76699a1373c9139c8b5f14d4da12aee93d3 /pactest/tests/sync301.py | |
parent | 7653bb93997f52848b54ab80868cd6da52808a75 (diff) |
-rw-r--r-- | pactest/tests/sync301.py | 25 |
diff --git a/pactest/tests/sync301.py b/pactest/tests/sync301.py new file mode 100644 index 00000000..e8526b93 --- /dev/null +++ b/pactest/tests/sync301.py @@ -0,0 +1,25 @@ +self.description = "Sysupgrade : pacman needs to be upgraded and has new deps" + +sp = pmpkg("pacman", "1.0-2") +sp.depends = ["dep"] +self.addpkg2db("sync", sp) + +spdep = pmpkg("dep") +self.addpkg2db("sync", spdep) + +sp1 = pmpkg("pkg1", "1.0-2") +self.addpkg2db("sync", sp1) + +lp = pmpkg("pacman", "1.0-1") +self.addpkg2db("local", lp) + +lp1 = pmpkg("pkg1", "1.0-1") +self.addpkg2db("local", lp1) + +self.args = "-Su" + +self.addrule("PACMAN_RETCODE=0") +self.addrule("PKG_EXIST=pacman") +self.addrule("PKG_VERSION=pacman|1.0-2") +self.addrule("PKG_EXIST=dep") +self.addrule("PKG_REQUIREDBY=dep|pacman") |