summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+