summaryrefslogtreecommitdiffstats
path: root/test/signedunsigned3.test
blob: 87bdcbc0abb8f4fc5deb062d03437f866076f271 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## -*- sh -*-

set -e

DATASRC=$top_srcdir/test/data
TESTFILE0=signedunsigned.plist
TESTFILE1=signedunsigned.bplist
DATAIN0=$DATASRC/$TESTFILE0
DATAIN1=$DATASRC/$TESTFILE1

CMPFILE0=signedunsigned.bplist
CMPFILE1=signedunsigned.plist
DATACMP0=$DATASRC/$CMPFILE0
DATACMP1=$DATASRC/$CMPFILE1

DATAOUT0=$top_builddir/test/data/signedunsigned3.test.signed.bin
DATAOUT1=$top_builddir/test/data/signedunsigned3.test.unsigned.xml

$top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0
$top_builddir/tools/plistutil -i $DATAIN1 -o $DATAOUT1

diff --strip-trailing-cr $DATACMP0 $DATAOUT0
diff --strip-trailing-cr $DATACMP1 $DATAOUT1