summaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2017-07-19 14:41:35 +0100
committerSimon McVittie <smcv@debian.org>2017-07-28 11:24:20 +0100
commit636cccdef71ffc83eb38246d505b3c7ba9e4cfb4 (patch)
treef4637cddd4db4d4b2af67d6e69cdea168198f151 /test/data
parent9f81acc004dd79c12b496fbfa2fc04afabd6fecf (diff)
downloaddbus-636cccdef71ffc83eb38246d505b3c7ba9e4cfb4.tar.gz
Add a test-case for combining receive_type and send_destination
Until the previous commit, this would have worked. Now it correctly fails with "send and receive attributes cannot be combined". Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Thiago Macieira <thiago@kde.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92853
Diffstat (limited to 'test/data')
-rw-r--r--test/data/invalid-config-files/send-and-receive.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/data/invalid-config-files/send-and-receive.conf b/test/data/invalid-config-files/send-and-receive.conf
new file mode 100644
index 00000000..f5b1a313
--- /dev/null
+++ b/test/data/invalid-config-files/send-and-receive.conf
@@ -0,0 +1,6 @@
+<busconfig>
+ <listen>unix:path=/foo</listen>
+ <policy context="default">
+ <allow receive_type="signal" send_destination="com.example.Bees"/>
+ </policy>
+</busconfig>