Commit 636cccde authored by Simon McVittie's avatar Simon McVittie Committed by Simon McVittie

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's avatarSimon McVittie <smcv@collabora.com>
Reviewed-by: Thiago Macieira's avatarThiago Macieira <thiago@kde.org>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92853
parent 9f81acc0
......@@ -481,6 +481,7 @@ static_data = \
data/invalid-config-files/circular-3.conf \
data/invalid-config-files/not-well-formed.conf \
data/invalid-config-files/truncated-file.conf \
data/invalid-config-files/send-and-receive.conf \
data/invalid-messages/array-of-nil.message \
data/invalid-messages/array-with-mixed-types.message \
data/invalid-messages/bad-boolean-array.message \
......
<busconfig>
<listen>unix:path=/foo</listen>
<policy context="default">
<allow receive_type="signal" send_destination="com.example.Bees"/>
</policy>
</busconfig>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment