summaryrefslogtreecommitdiff
path: root/test/data/invalid-messages/too-much-header-padding.message
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/invalid-messages/too-much-header-padding.message')
-rw-r--r--test/data/invalid-messages/too-much-header-padding.message23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/data/invalid-messages/too-much-header-padding.message b/test/data/invalid-messages/too-much-header-padding.message
new file mode 100644
index 00000000..0b1c294c
--- /dev/null
+++ b/test/data/invalid-messages/too-much-header-padding.message
@@ -0,0 +1,23 @@
+## has one byte extra header padding
+
+## VALID_HEADER includes a LENGTH Header and LENGTH Body
+VALID_HEADER method_call
+
+HEADER_FIELD INTERFACE
+TYPE STRING
+STRING 'org.freedesktop.Foo'
+HEADER_FIELD MEMBER
+TYPE STRING
+STRING 'Bar'
+HEADER_FIELD PATH
+TYPE OBJECT_PATH
+OBJECT_PATH '/foo'
+
+HEADER_FIELD UNKNOWN
+TYPE STRING
+STRING 'a'
+ALIGN 8
+BYTE 0
+END_LENGTH Header
+START_LENGTH Body
+END_LENGTH Body