summaryrefslogtreecommitdiffstats
path: root/test/malformed_dict.test
blob: 1d3ba2ba887d7c4ca57c38e498630859e13d1582 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## -*- sh -*-

DATASRC=$top_srcdir/test/data
TESTFILE=malformed_dict.bplist
DATAIN0=$DATASRC/$TESTFILE
DATAOUT0=$top_builddir/test/data/malformed_dict.test.out

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

# test succeeds if plistutil fails
if [ $? -eq 0 ]; then
  exit 1
else
  exit 0
fi