summaryrefslogtreecommitdiff
path: root/test/data/invalid-messages/bad-endian.message
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/invalid-messages/bad-endian.message')
-rw-r--r--test/data/invalid-messages/bad-endian.message25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/data/invalid-messages/bad-endian.message b/test/data/invalid-messages/bad-endian.message
new file mode 100644
index 00000000..e979baae
--- /dev/null
+++ b/test/data/invalid-messages/bad-endian.message
@@ -0,0 +1,25 @@
+## message with invalid endianness tag
+
+BYTE 'i'
+BYTE 1
+BYTE 0
+BYTE 0
+
+LENGTH Header
+LENGTH Body
+
+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'
+
+ALIGN 8
+END_LENGTH Header
+
+START_LENGTH Body
+END_LENGTH Body