summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlban Crequy <alban.crequy@collabora.co.uk>2012-03-04 15:11:45 +0000
committerAlban Crequy <alban.crequy@collabora.co.uk>2012-03-22 11:50:27 +0000
commitd0591d318f8c93f159ea4b193b79888567a6439c (patch)
tree95f5662a8ee55984c8d89dc7018686a4e0694c35 /test
parent14aed647a6e4efb233c76a1b4a48a3680af04791 (diff)
downloaddbus-d0591d318f8c93f159ea4b193b79888567a6439c.tar.gz
test: parse own_prefix policy rules
Just check that the parser accept [allow|deny] rules with own_prefix https://bugs.freedesktop.org/show_bug.cgi?id=46886
Diffstat (limited to 'test')
-rw-r--r--test/data/valid-config-files/many-rules.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/data/valid-config-files/many-rules.conf b/test/data/valid-config-files/many-rules.conf
index 089908b4..23931626 100644
--- a/test/data/valid-config-files/many-rules.conf
+++ b/test/data/valid-config-files/many-rules.conf
@@ -14,6 +14,7 @@
<deny receive_interface="org.freedesktop.System" receive_member="Reboot"/>
<deny send_path="/foo/bar/SystemObjectThing" send_member="Reboot"/>
<deny own="org.freedesktop.System"/>
+ <deny own_prefix="org.freedesktop.ManySystems"/>
<deny send_destination="org.freedesktop.System"/>
<deny receive_sender="org.freedesktop.System"/>
<deny user="root"/>
@@ -32,6 +33,7 @@
<deny receive_interface="org.freedesktop.System" receive_member="Reboot"/>
<deny send_path="/foo/bar/SystemObjectThing" send_member="Reboot"/>
<deny own="org.freedesktop.System"/>
+ <deny own_prefix="org.freedesktop.ManySystems"/>
<deny send_destination="org.freedesktop.System"/>
<deny receive_sender="org.freedesktop.System"/>
<deny user="root"/>