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

DATASRC=$top_srcdir/test/data
TESTFILE=invalid_tag.plist
DATAIN0=$DATASRC/$TESTFILE
DATAOUT0=$top_builddir/test/data/invalid_tag.test.out

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

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