index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Bryan Ischo <bji-keyword-pacman.3644cb@www.ischo.com> | 2009-03-09 09:56:13 +1300 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-04-11 14:39:24 -0500 |
commit | db3e166503386b4f9e456017fd56d8bce84528fe (patch) | |
tree | 6be74c28ff430128c8a1a7a3064e32d3fe49d5ec /pactest/tests | |
parent | d70465decc617412db0670c8169ec22421c8e3d1 (diff) |
-rw-r--r-- | pactest/tests/sync993.py | 20 |
diff --git a/pactest/tests/sync993.py b/pactest/tests/sync993.py new file mode 100644 index 00000000..82cc803a --- /dev/null +++ b/pactest/tests/sync993.py @@ -0,0 +1,20 @@ +self.description = "Choose a dependency satisfier (target-list vs. database)" + +sp1 = pmpkg("pkg1") +sp1.depends = ["dep"] + +sp2 = pmpkg("pkg2") +sp2.provides = ["dep"] + +sp3 = pmpkg("pkg3") +sp3.provides = ["dep"] + +for p in sp1, sp2, sp3: + self.addpkg2db("sync", p) + +self.args = "-S pkg1 pkg3" + +self.addrule("PACMAN_RETCODE=0") +self.addrule("PKG_EXIST=pkg1") +self.addrule("!PKG_EXIST=pkg2") +self.addrule("PKG_EXIST=pkg3") |