summaryrefslogtreecommitdiff
path: root/pactest
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-03-30 16:47:27 -0500
committerDan McGee <dan@archlinux.org>2008-03-30 16:47:27 -0500
commit0bd6fb3bc28b395d5af099221e2c0401d3be42e2 (patch)
tree0b7d6867c52d9a588d2bfab712935ef2ee787bda /pactest
parent5f17ac8150906ce7aa05b28fdbd1a94cbe021ccc (diff)
downloadpacman-0bd6fb3bc28b395d5af099221e2c0401d3be42e2.tar.xz
Update -Ss and -Qs pactests to include groups
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>
Diffstat (limited to 'pactest')
-rw-r--r--pactest/tests/query003.py1
-rw-r--r--pactest/tests/sync1101.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/pactest/tests/query003.py b/pactest/tests/query003.py
index ea113081..41b8a45b 100644
--- a/pactest/tests/query003.py
+++ b/pactest/tests/query003.py
@@ -2,6 +2,7 @@ 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
diff --git a/pactest/tests/sync1101.py b/pactest/tests/sync1101.py
index ba2ad44f..e3ed0f0f 100644
--- a/pactest/tests/sync1101.py
+++ b/pactest/tests/sync1101.py
@@ -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)