index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Benedikt Morbach <benedikt.morbach@googlemail.com> | 2012-08-12 16:40:04 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-12-14 12:35:34 +1000 |
commit | 7a24f909fc21deb16271be5bc2cc5178f880c77a (patch) | |
tree | 14108fbe075fe6de621707282d06d2756fb1965c /test | |
parent | d0e5cd2c7faef6159ab353714fa5227739994b2f (diff) |
-rw-r--r-- | test/pacman/tests/query012.py | 13 |
diff --git a/test/pacman/tests/query012.py b/test/pacman/tests/query012.py new file mode 100644 index 00000000..cdb71207 --- /dev/null +++ b/test/pacman/tests/query012.py @@ -0,0 +1,13 @@ +self.description = "Query info on a package (reverse optdeps)" + +pkg = pmpkg("dummy", "1.0-2") +pkg.optdepends = ["dep: for foobar"] +self.addpkg2db("local", pkg) + +dep = pmpkg("dep") +self.addpkg2db("local", dep) + +self.args = "-Qi %s" % dep.name + +self.addrule("PACMAN_RETCODE=0") +self.addrule("PACMAN_OUTPUT=^Optional For.*%s" % pkg.name) |