index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Olivier Brunel <i.am.jack.mail@gmail.com> | 2013-03-04 09:48:10 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-03-07 15:38:47 +1000 |
commit | 017184fab55b22c1efd8a7d6d6d832ca302d8e15 (patch) | |
tree | 29b1122d2a50ab708c7f320a06ece004bca39edf /test/pacman/tests/sync1105.py | |
parent | 1b39653e9624db98c2e707a1991bc32bb26f2b67 (diff) |
-rw-r--r-- | test/pacman/tests/sync1105.py | 17 |
diff --git a/test/pacman/tests/sync1105.py b/test/pacman/tests/sync1105.py new file mode 100644 index 00000000..cc43c8ca --- /dev/null +++ b/test/pacman/tests/sync1105.py @@ -0,0 +1,17 @@ +self.description = "Upgrade with a replacement in a repo with lower prioriy" + +sp1 = pmpkg("pkg2") +self.addpkg2db("sync1", sp1) + +sp2 = pmpkg("pkg1") +sp2.replaces = ["pkg2"] +self.addpkg2db("sync2", sp2) + +lp = pmpkg("pkg2") +self.addpkg2db("local", lp) + +self.args = "-Su" + +self.addrule("PACMAN_RETCODE=0") +self.addrule("!PKG_EXIST=pkg1") +self.addrule("PKG_EXIST=pkg2") |