blob: 79db52317fe643f815b091593e031a33d1c7ccf8 [file] [log] [blame]
## -*- sh -*-
set -e
DATASRC=$top_srcdir/test/data
TESTFILE=7.plist
DATAIN0=$DATASRC/$TESTFILE
DATAOUT0=$top_builddir/test/data/timezone2.test.bin
DATAOUT1=$top_builddir/test/data/timezone2.test.tz0.xml
DATAOUT2=$top_builddir/test/data/timezone2.test.tz1.xml
DATAOUT3=$top_builddir/test/data/timezone2.test.tz2.xml
TZ=UTC $top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
TZ=UTC $top_builddir/tools/plistutil -i $DATAOUT0 -o $DATAOUT1
TZ=Asia/Singapore $top_builddir/tools/plistutil -i $DATAOUT0 -o $DATAOUT2
TZ=US/Pacific $top_builddir/tools/plistutil -i $DATAOUT0 -o $DATAOUT3
$top_builddir/test/plist_cmp $DATAIN0 $DATAOUT1
$top_builddir/test/plist_cmp $DATAIN0 $DATAOUT2
$top_builddir/test/plist_cmp $DATAIN0 $DATAOUT3