add test for header padding not set to all bits 0
authorHavoc Pennington <hp@redhat.com>
Sun, 16 Feb 2003 23:10:05 +0000 (23:10 +0000)
committerHavoc Pennington <hp@redhat.com>
Sun, 16 Feb 2003 23:10:05 +0000 (23:10 +0000)
test/data/invalid-messages/not-nul-header-padding.message [new file with mode: 0644]

diff --git a/test/data/invalid-messages/not-nul-header-padding.message b/test/data/invalid-messages/not-nul-header-padding.message
new file mode 100644 (file)
index 0000000..1172af4
--- /dev/null
@@ -0,0 +1,14 @@
+## has one non-nul byte in header padding
+
+## VALID_HEADER includes a LENGTH Header and LENGTH Body
+VALID_HEADER
+FIELD_NAME unkn
+TYPE STRING
+STRING 'a'
+ALIGN 8
+## kill a padding byte and replace it
+CHOP 1
+BYTE 'q'
+END_LENGTH Header
+START_LENGTH Body
+END_LENGTH Body