diff options
author | Nikias Bassen | 2016-09-19 03:19:45 +0200 |
---|---|---|
committer | Nikias Bassen | 2016-09-19 03:19:45 +0200 |
commit | a3263ad344ff315ac1cba96f0b84b9afff6da787 (patch) | |
tree | dac86bc9740951c1f2bc4821abbf0face02e0f7e /test/dates.test | |
parent | 8d34de3078469aba636846a15bad08198f66fdc8 (diff) | |
download | libplist-a3263ad344ff315ac1cba96f0b84b9afff6da787.tar.gz libplist-a3263ad344ff315ac1cba96f0b84b9afff6da787.tar.bz2 |
test: Add additional test case to check extended date range
Diffstat (limited to 'test/dates.test')
-rwxr-xr-x | test/dates.test | 15 |
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 |