summaryrefslogtreecommitdiffstats
path: root/pactest/tests/query001.py
diff options
context:
space:
mode:
Diffstat (limited to 'pactest/tests/query001.py')
-rw-r--r--pactest/tests/query001.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pactest/tests/query001.py b/pactest/tests/query001.py
index fe689104..315af84a 100644
--- a/pactest/tests/query001.py
+++ b/pactest/tests/query001.py
@@ -4,6 +4,7 @@ p = pmpkg("foobar")
p.files = ["bin/foobar"]
self.addpkg2db("local", p)
-self.args = "-Q foobar"
+self.args = "-Q %s" % p.name
+self.addrule("PACMAN_RETCODE=0")
self.addrule("PACMAN_OUTPUT=foobar")