mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-16 14:25:21 -05:00
Update -Ss and -Qs pactests to include groups
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>
This commit is contained in:
parent
5f17ac8150
commit
0bd6fb3bc2
@ -2,6 +2,7 @@ self.description = "Query search for a package"
|
|||||||
|
|
||||||
p = pmpkg("foobar")
|
p = pmpkg("foobar")
|
||||||
p.files = ["bin/foobar"]
|
p.files = ["bin/foobar"]
|
||||||
|
p.groups = ["group1", "group2"]
|
||||||
self.addpkg2db("local", p)
|
self.addpkg2db("local", p)
|
||||||
|
|
||||||
self.args = "-Qs %s" % p.name
|
self.args = "-Qs %s" % p.name
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
self.description = "Search for package from a sync db"
|
self.description = "Search for package from a sync db"
|
||||||
|
|
||||||
sp = pmpkg("dummy")
|
sp = pmpkg("dummy")
|
||||||
|
sp.groups = ["group1", "group2"]
|
||||||
sp.files = ["bin/dummy",
|
sp.files = ["bin/dummy",
|
||||||
"usr/man/man1/dummy.1"]
|
"usr/man/man1/dummy.1"]
|
||||||
self.addpkg2db("sync", sp)
|
self.addpkg2db("sync", sp)
|
||||||
|
Loading…
Reference in New Issue
Block a user