summaryrefslogtreecommitdiffstats
path: root/test/json2.test
blob: 199643c4fca618c5f80a831ab616fbe5eef78e1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## -*- sh -*-

set -e

DATASRC=$top_srcdir/test/data
DATAOUT=$top_builddir/test/data
TESTFILE=j2.json

if ! test -d "$DATAOUT"; then
	mkdir -p $DATAOUT
fi

export PLIST_JSON_DEBUG=1

echo "Converting"
$top_builddir/test/plist_jtest $DATASRC/$TESTFILE $DATAOUT/json2.test.out

echo "Comparing"
$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/json2.test.out