summaryrefslogtreecommitdiffstats
path: root/test/pacman/tests/querycheck_fast_file_type.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/tests/querycheck_fast_file_type.py')
-rw-r--r--test/pacman/tests/querycheck_fast_file_type.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/pacman/tests/querycheck_fast_file_type.py b/test/pacman/tests/querycheck_fast_file_type.py
new file mode 100644
index 00000000..a19fceeb
--- /dev/null
+++ b/test/pacman/tests/querycheck_fast_file_type.py
@@ -0,0 +1,14 @@
+self.description = "check file type without mtree"
+
+self.filesystem = [ "bar/", "foo -> bar/" ]
+
+pkg = pmpkg("dummy")
+pkg.files = [ "foo/" ]
+self.addpkg2db("local",pkg)
+
+self.args = "-Qk"
+
+self.addrule("PACMAN_RETCODE=1")
+self.addrule("PACMAN_OUTPUT=warning.*(File type mismatch)")
+
+self.expectfailure = True