diff options
author | Nagy Gabor <ngaba@bibl.u-szeged.hu> | 2010-04-24 16:48:14 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-04-27 01:47:56 +0200 |
commit | 652762488a1fbe70b073588dc5f88412ff952fb7 (patch) | |
tree | d81b673f499db6cc72c299c1714609689c4335e7 /pactest/tests/sync405.py | |
parent | 6995aed9aeae1e95d9de3b2f539f904dbde4e165 (diff) | |
download | pacman-652762488a1fbe70b073588dc5f88412ff952fb7.tar.gz pacman-652762488a1fbe70b073588dc5f88412ff952fb7.tar.xz |
New pactests for the phonon/qt issue
Original-work-by: Xavier Chantry <shiningxc@gmail.com>
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/sync405.py')
-rw-r--r-- | pactest/tests/sync405.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pactest/tests/sync405.py b/pactest/tests/sync405.py new file mode 100644 index 00000000..d170cec8 --- /dev/null +++ b/pactest/tests/sync405.py @@ -0,0 +1,26 @@ +self.description = "phonon/qt issue" + +sp1 = pmpkg("kdelibs") +sp1.depends = ["phonon"] +self.addpkg2db("sync", sp1); + +sp2 = pmpkg("qt", "4.6.1-1") +self.addpkg2db("sync", sp2) + +sp3 = pmpkg("phonon") +self.addpkg2db("sync", sp3) + +lp = pmpkg("qt", "4.5.3-1") +lp.provides = ["phonon"] +lp.conflicts = ["phonon"] +self.addpkg2db("local", lp) + +self.args = "-S %s" % " ".join([p.name for p in sp1, sp2]) + +self.addrule("PACMAN_RETCODE=0") +self.addrule("PKG_EXIST=kdelibs") +self.addrule("PKG_EXIST=qt") +self.addrule("PKG_EXIST=phonon") +self.addrule("PKG_VERSION=qt|4.6.1-1") + +self.expectfailure = True |