summaryrefslogtreecommitdiff
path: root/test/pacman/tests/query007.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/pacman/tests/query007.py')
-rw-r--r--test/pacman/tests/query007.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/pacman/tests/query007.py b/test/pacman/tests/query007.py
new file mode 100644
index 00000000..35bb0ca6
--- /dev/null
+++ b/test/pacman/tests/query007.py
@@ -0,0 +1,11 @@
+self.description = "Query ownership of file in root"
+
+sp = pmpkg("dummy")
+sp.files = ["etc/config"]
+self.addpkg2db("local", sp)
+
+self.filesystem = ["config"]
+
+self.args = "-Qo /config"
+
+self.addrule("PACMAN_RETCODE=1")