summaryrefslogtreecommitdiff
path: root/test/data/incomplete-messages/missing-body.message
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2011-01-31 17:37:59 +0000
committerSimon McVittie <smcv@debian.org>2011-01-31 17:37:59 +0000
commit24fbe571516161d48b499d587f9adb3e683dbf88 (patch)
tree7d70909156dcf587d91f693b8e1216eb4e0465e1 /test/data/incomplete-messages/missing-body.message
parent9b72896b3730a9fceb961be28bb95762a7b4e9d6 (diff)
downloaddbus-24fbe571516161d48b499d587f9adb3e683dbf88.tar.gz
Imported Upstream version 1.2.24upstream/1.2.24
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