summaryrefslogtreecommitdiff
path: root/pactest/tests/query001.py
diff options
context:
space:
mode:
Diffstat (limited to 'pactest/tests/query001.py')
-rw-r--r--pactest/tests/query001.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/pactest/tests/query001.py b/pactest/tests/query001.py
new file mode 100644
index 00000000..fe689104
--- /dev/null
+++ b/pactest/tests/query001.py
@@ -0,0 +1,9 @@
+self.description = "Query a package"
+
+p = pmpkg("foobar")
+p.files = ["bin/foobar"]
+self.addpkg2db("local", p)
+
+self.args = "-Q foobar"
+
+self.addrule("PACMAN_OUTPUT=foobar")