summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2015-02-05 22:25:09 +0100
committerGravatar Nikias Bassen2015-02-05 22:25:09 +0100
commit9ca25d293fe7f8aca8d952fc7bb91464fe2d34ab (patch)
treedc03b5697ede0ea301aedd018ac64ad81dc50d60
parent43ae9d35badc43a5f14f439a54d761988c73e167 (diff)
downloadlibplist-9ca25d293fe7f8aca8d952fc7bb91464fe2d34ab.tar.gz
libplist-9ca25d293fe7f8aca8d952fc7bb91464fe2d34ab.tar.bz2
test: Add missing .test files
-rwxr-xr-xtest/malformed_dict.test11
-rwxr-xr-xtest/order.test13
-rwxr-xr-xtest/recursion.test11
3 files changed, 35 insertions, 0 deletions
diff --git a/test/malformed_dict.test b/test/malformed_dict.test
new file mode 100755
index 0000000..f45ae7e
--- /dev/null
+++ b/test/malformed_dict.test
@@ -0,0 +1,11 @@
+## -*- sh -*-
+
+set -e
+
+DATASRC=$top_srcdir/test/data
+TESTFILE=malformed_dict.bplist
+DATAIN0=$DATASRC/$TESTFILE
+DATAOUT0=$top_builddir/test/data/$TESTFILE.out
+
+$top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
+
diff --git a/test/order.test b/test/order.test
new file mode 100755
index 0000000..f8a7702
--- /dev/null
+++ b/test/order.test
@@ -0,0 +1,13 @@
+## -*- sh -*-
+
+set -e
+
+DATASRC=$top_srcdir/test/data
+TESTFILE=order.bplist
+DATAIN0=$DATASRC/$TESTFILE
+DATAIN1=$DATASRC/order.plist
+DATAOUT0=$top_builddir/test/data/$TESTFILE.out
+
+$top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
+
+$top_builddir/test/plist_cmp $DATAIN1 $DATAOUT0
diff --git a/test/recursion.test b/test/recursion.test
new file mode 100755
index 0000000..0120a12
--- /dev/null
+++ b/test/recursion.test
@@ -0,0 +1,11 @@
+## -*- sh -*-
+
+set -e
+
+DATASRC=$top_srcdir/test/data
+TESTFILE=recursion.bplist
+DATAIN0=$DATASRC/$TESTFILE
+DATAOUT0=$top_builddir/test/data/$TESTFILE.out
+
+$top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
+