index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-06 10:59:41 +0100 |
---|---|---|
committer | Chantry Xavier <shiningxc@gmail.com> | 2008-01-06 10:59:41 +0100 |
commit | a71f4c4c6a7775503b29ab856f8a5ce2801f2967 (patch) | |
tree | c434e2d5aa23db73330c083758b722ed36e89cc6 /pactest | |
parent | a27d7f6071969623362785df50546cf48e8f1d2e (diff) |
-rw-r--r-- | pactest/tests/fileconflict003.py | 18 |
diff --git a/pactest/tests/fileconflict003.py b/pactest/tests/fileconflict003.py new file mode 100644 index 00000000..89696fcb --- /dev/null +++ b/pactest/tests/fileconflict003.py @@ -0,0 +1,18 @@ +self.description = "FS#8156" + +p1 = pmpkg("pkg1") +p1.files = ["test/", + "test/file"] +self.addpkg2db("local", p1) + +p2 = pmpkg("pkg2") +p2.files = ["test2/", + "test2/file2", + "test -> test2"] +self.addpkg2db("sync", p2) + +self.args = "-S pkg2" + +self.addrule("PACMAN_RETCODE=1") +self.addrule("PKG_EXIST=pkg1") +self.addrule("!PKG_EXIST=pkg2") |