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

DATASRC=$top_srcdir/test/data
TESTFILE=amp.plist
DATAIN0=$DATASRC/$TESTFILE
DATAOUT0=$top_builddir/test/data/$TESTFILE.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