summaryrefslogtreecommitdiff
path: root/test/data/incomplete-messages/missing-body.message
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/incomplete-messages/missing-body.message')
-rw-r--r--test/data/incomplete-messages/missing-body.message19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/data/incomplete-messages/missing-body.message b/test/data/incomplete-messages/missing-body.message
new file mode 100644
index 00000000..138e9ea5
--- /dev/null
+++ b/test/data/incomplete-messages/missing-body.message
@@ -0,0 +1,19 @@
+## message that's missing an expected body
+
+VALID_HEADER method_call
+HEADER_FIELD INTERFACE
+TYPE STRING
+STRING 'org.freedesktop.Foo'
+HEADER_FIELD MEMBER
+TYPE STRING
+STRING 'Bar'
+ALIGN 8
+END_LENGTH Header
+
+## create the body, then chop it off
+START_LENGTH Body
+TYPE INT32
+INT32 37
+END_LENGTH Body
+
+CHOP 8