summaryrefslogtreecommitdiffstats
path: root/test/hex.test
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2014-05-23 11:24:08 +0200
committerGravatar Nikias Bassen2014-05-23 11:24:08 +0200
commitf7c829297aa77e095511abb9b4ffaa68bd8bb443 (patch)
tree1b304c561f603ce67499814ffc66b9e727d7163c /test/hex.test
parent769ee9ecdadcb75f421a7ebf18a2a43a13771966 (diff)
downloadlibplist-f7c829297aa77e095511abb9b4ffaa68bd8bb443.tar.gz
libplist-f7c829297aa77e095511abb9b4ffaa68bd8bb443.tar.bz2
test: Add test cases for integer nodes
Diffstat (limited to 'test/hex.test')
-rwxr-xr-xtest/hex.test12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/hex.test b/test/hex.test
new file mode 100755
index 0000000..99b88bc
--- /dev/null
+++ b/test/hex.test
@@ -0,0 +1,12 @@
+## -*- sh -*-
+
+set -e
+
+DATASRC=$top_srcdir/test/data
+TESTFILE=hex.plist
+DATAIN0=$DATASRC/$TESTFILE
+DATAOUT0=$top_builddir/test/data/$TESTFILE.bin
+
+$top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
+
+$top_builddir/test/plist_cmp $DATAIN0 $DATAOUT0