From 636cccdef71ffc83eb38246d505b3c7ba9e4cfb4 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Wed, 19 Jul 2017 14:41:35 +0100 Subject: [PATCH] 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 Reviewed-by: Thiago Macieira Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92853 --- test/Makefile.am | 1 + test/data/invalid-config-files/send-and-receive.conf | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 test/data/invalid-config-files/send-and-receive.conf diff --git a/test/Makefile.am b/test/Makefile.am index f3b70dc..caaedf5 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -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 \ 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 0000000..f5b1a31 --- /dev/null +++ b/test/data/invalid-config-files/send-and-receive.conf @@ -0,0 +1,6 @@ + + unix:path=/foo + + + + -- 2.7.4