mirror of
https://github.com/moparisthebest/pacman
synced 2025-03-01 09:51:50 -05:00

This update causes query003 to fail before commit 4b8ada818e21aae43b4f54f146ffa215fdb9213e. 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)
|