diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2007-11-29 18:56:50 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-12-01 18:29:41 +0100 |
commit | f19820cba8c4da8d6b7c84c694f3d327e94095a4 (patch) | |
tree | 4e6a740a53f31f03f2cd15c72796d51811596f67 /pactest/tests/sync1005.py | |
parent | 22c2043160f30a9ed34fd2886edaf521029a9248 (diff) | |
download | pacman-f19820cba8c4da8d6b7c84c694f3d327e94095a4.tar.gz pacman-f19820cba8c4da8d6b7c84c694f3d327e94095a4.tar.xz |
New sync1005 and sync1006 pactests
This pactest checks what happens if a package exists in two sync repos.
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
[Dan: added sync1006, same test with different versions]
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/sync1005.py')
-rw-r--r-- | pactest/tests/sync1005.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pactest/tests/sync1005.py b/pactest/tests/sync1005.py new file mode 100644 index 00000000..4fa82478 --- /dev/null +++ b/pactest/tests/sync1005.py @@ -0,0 +1,14 @@ +self.description = "Conflicting package names in sync repos" + +sp1 = pmpkg("pkg") +sp1.provides = [ "provision1" ] +self.addpkg2db("sync1", sp1) + +sp2 = pmpkg("pkg") +sp2.provides = [ "provision2" ] +self.addpkg2db("sync2", sp2) + +self.args = "-S provision1 provision2" + +self.addrule("PACMAN_RETCODE=1") +self.addrule("!PKG_EXIST=pkg") |