summaryrefslogtreecommitdiffstats
path: root/test/json3.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/json3.test')
-rwxr-xr-xtest/json3.test8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/json3.test b/test/json3.test
index 06a7007..1cbf59d 100755
--- a/test/json3.test
+++ b/test/json3.test
@@ -13,10 +13,12 @@ fi
export PLIST_JSON_DEBUG=1
echo "Converting input file to JSON"
-$top_builddir/tools/plistutil -f json -i $DATASRC/$TESTFILE -o $DATASRC/$TESTFILE.json
+$top_builddir/tools/plistutil -f json -i $DATASRC/$TESTFILE -o $DATAOUT/$TESTFILE.json
echo "Converting to binary and back to JSON"
-$top_builddir/test/plist_jtest $DATASRC/$TESTFILE.json $DATAOUT/$TESTFILE.json.out
+$top_builddir/test/plist_jtest $DATAOUT/$TESTFILE.json $DATAOUT/$TESTFILE.json.out
echo "Comparing"
-$top_builddir/test/plist_cmp $DATASRC/$TESTFILE $DATAOUT/$TESTFILE.json.out
+$top_builddir/test/plist_cmp $DATAOUT/$TESTFILE $DATAOUT/$TESTFILE.json.out
+
+rm -f $DATAOUT/$TESTFILE.json