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 @@
|
|||
|
||||
p = pmpkg("foobar")
|
||||
p.files = ["bin/foobar"]
|
||||
p.groups = ["group1", "group2"]
|
||||
self.addpkg2db("local", p)
|
||||
|
||||
self.args = "-Qs %s" % p.name
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
self.description = "Search for package from a sync db"
|
||||
|
||||
sp = pmpkg("dummy")
|
||||
sp.groups = ["group1", "group2"]
|
||||
sp.files = ["bin/dummy",
|
||||
"usr/man/man1/dummy.1"]
|
||||
self.addpkg2db("sync", sp)
|
||||
|
|
Loading…
Reference in New Issue