summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/querycheck002.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/tests/querycheck002.py')
-rw-r--r--test/pacman/tests/querycheck002.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/pacman/tests/querycheck002.py b/test/pacman/tests/querycheck002.py
new file mode 100644
index 00000000..579d4d1a
--- /dev/null
+++ b/test/pacman/tests/querycheck002.py
@@ -0,0 +1,15 @@
+self.description = "Query--check mtree, no mtree"
+
+pkg = pmpkg("dummy")
+pkg.files = [
+ "usr/lib/libdummy.so.0",
+ "usr/lib/libdummy.so -> libdummy.so.0",
+ "usr/share/dummy/C/",
+ "usr/share/dummy/C/msgs",
+ "usr/share/dummy/en -> C"]
+self.addpkg2db("local",pkg)
+
+self.args = "-Qkk"
+
+self.addrule("PACMAN_RETCODE=0")
+self.addrule("PACMAN_OUTPUT=dummy: no mtree file")