summaryrefslogtreecommitdiffstats
path: root/test/dates.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/dates.test')
-rwxr-xr-xtest/dates.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/dates.test b/test/dates.test
new file mode 100755
index 0000000..9d75471
--- /dev/null
+++ b/test/dates.test
@@ -0,0 +1,15 @@
+## -*- sh -*-
+
+set -e
+
+DATASRC=$top_srcdir/test/data
+TESTFILE=7.plist
+DATAIN0=$DATASRC/$TESTFILE
+DATAOUT0=$top_builddir/test/data/$TESTFILE.bplist
+DATAOUT1=$top_builddir/test/data/$TESTFILE.xplist
+
+$top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
+$top_builddir/tools/plistutil -i $DATAOUT0 -o $DATAOUT1
+
+$top_builddir/test/plist_cmp $DATAOUT0 $DATAIN0
+$top_builddir/test/plist_cmp $DATAOUT1 $DATAIN0