summaryrefslogtreecommitdiffstats
path: root/tests/fail/nokwformat
diff options
context:
space:
mode:
authorJason Albert <albertj@us.ibm.com>2015-03-17 14:49:22 -0500
committerJason Albert <albertj@us.ibm.com>2015-03-17 14:49:22 -0500
commitd6c08ddaec679db528f8eb0a67fb1085015b71fd (patch)
tree48f2c085c8471d4c4469b826003ce77d11d7c6ee /tests/fail/nokwformat
parent6246773765971fa8c8a5db7de677a71c183f0da7 (diff)
downloadvpdtools-d6c08ddaec679db528f8eb0a67fb1085015b71fd.tar.gz
vpdtools-d6c08ddaec679db528f8eb0a67fb1085015b71fd.zip
Numerous testcases that should error due to phase 1 parsing problems
Diffstat (limited to 'tests/fail/nokwformat')
-rw-r--r--tests/fail/nokwformat/nokwformat.tvpd26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/fail/nokwformat/nokwformat.tvpd b/tests/fail/nokwformat/nokwformat.tvpd
new file mode 100644
index 0000000..344f35a
--- /dev/null
+++ b/tests/fail/nokwformat/nokwformat.tvpd
@@ -0,0 +1,26 @@
+<?xml version='1.0' encoding='utf-8'?>
+<vpd>
+ <name>FILENAME</name>
+ <size>16kb</size>
+ <VD>01</VD>
+ <record name="VINI">
+ <rdesc>The VINI record</rdesc>
+ <keyword name="RT">
+ <kwdesc>The Record Type keyword</kwdesc>
+ <kwlen>4</kwlen>
+ <kwdata>VINI</kwdata>
+ </keyword>
+ <keyword name="AS">
+ <kwdesc>The ascii keyword</kwdesc>
+ <kwformat>ascii</kwformat>
+ <kwlen>20</kwlen>
+ <kwdata>This is text data</kwdata>
+ </keyword>
+ <keyword name="HX">
+ <kwdesc>The Hex keyword</kwdesc>
+ <kwformat>hex</kwformat>
+ <kwlen>4</kwlen>
+ <kwdata>00000000</kwdata>
+ </keyword>
+ </record>
+</vpd>
OpenPOWER on IntegriCloud