summaryrefslogtreecommitdiffstats
path: root/examples/simple
diff options
context:
space:
mode:
authorJason Albert <albertj@us.ibm.com>2015-07-16 09:34:40 -0500
committerJason Albert <albertj@us.ibm.com>2015-07-16 09:34:40 -0500
commit7142dafa575769dc963fd83111aeabf0e8e1f2c3 (patch)
tree2a6cf0d6183f8af57955180237715b6b3f80f00c /examples/simple
parent60adb1091adda7050333e16d847298c73041d870 (diff)
downloadvpdtools-7142dafa575769dc963fd83111aeabf0e8e1f2c3.tar.gz
vpdtools-7142dafa575769dc963fd83111aeabf0e8e1f2c3.zip
Reworked the organization of the examples
Examples were previously just a symlink to passing tests. This symlink didn't show well in github. Instead examples is now the directory and pass is the symbolic link. - removed examples link - moved tests/pass directory to examples - creates tests/pass -> examples link
Diffstat (limited to 'examples/simple')
-rw-r--r--examples/simple/simple.tvpd27
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/simple/simple.tvpd b/examples/simple/simple.tvpd
new file mode 100644
index 0000000..3edd68c
--- /dev/null
+++ b/examples/simple/simple.tvpd
@@ -0,0 +1,27 @@
+<?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>
+ <kwformat>ascii</kwformat>
+ <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