From 5db321bd92f0546d5ed9fb6d3e3b0d07f673ead3 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 --- 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 f3b70dcd..caaedf51 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 00000000..f5b1a313 --- /dev/null +++ b/test/data/invalid-config-files/send-and-receive.conf @@ -0,0 +1,6 @@ + + unix:path=/foo + + + + -- 2.13.3