mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-16 06:15:08 -05:00
0bd6fb3bc2
This update causes query003 to fail before commit
4b8ada818e
. Hopefully the issue doesn't crop
up again but we might as well test for it.
Signed-off-by: Dan McGee <dan@archlinux.org>
12 lines
260 B
Python
12 lines
260 B
Python
self.description = "Query search for a package"
|
|
|
|
p = pmpkg("foobar")
|
|
p.files = ["bin/foobar"]
|
|
p.groups = ["group1", "group2"]
|
|
self.addpkg2db("local", p)
|
|
|
|
self.args = "-Qs %s" % p.name
|
|
|
|
self.addrule("PACMAN_RETCODE=0")
|
|
self.addrule("PACMAN_OUTPUT=%s" % p.name)
|