diff options
| -rwxr-xr-x | test/malformed_dict.test | 11 | ||||
| -rwxr-xr-x | test/order.test | 13 | ||||
| -rwxr-xr-x | test/recursion.test | 11 |
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 @@ | |||
| 1 | ## -*- sh -*- | ||
| 2 | |||
| 3 | set -e | ||
| 4 | |||
| 5 | DATASRC=$top_srcdir/test/data | ||
| 6 | TESTFILE=malformed_dict.bplist | ||
| 7 | DATAIN0=$DATASRC/$TESTFILE | ||
| 8 | DATAOUT0=$top_builddir/test/data/$TESTFILE.out | ||
| 9 | |||
| 10 | $top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0 | ||
| 11 | |||
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 @@ | |||
| 1 | ## -*- sh -*- | ||
| 2 | |||
| 3 | set -e | ||
| 4 | |||
| 5 | DATASRC=$top_srcdir/test/data | ||
| 6 | TESTFILE=order.bplist | ||
| 7 | DATAIN0=$DATASRC/$TESTFILE | ||
| 8 | DATAIN1=$DATASRC/order.plist | ||
| 9 | DATAOUT0=$top_builddir/test/data/$TESTFILE.out | ||
| 10 | |||
| 11 | $top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0 | ||
| 12 | |||
| 13 | $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 @@ | |||
| 1 | ## -*- sh -*- | ||
| 2 | |||
| 3 | set -e | ||
| 4 | |||
| 5 | DATASRC=$top_srcdir/test/data | ||
| 6 | TESTFILE=recursion.bplist | ||
| 7 | DATAIN0=$DATASRC/$TESTFILE | ||
| 8 | DATAOUT0=$top_builddir/test/data/$TESTFILE.out | ||
| 9 | |||
| 10 | $top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0 | ||
| 11 | |||
