diff options
author | Nikias Bassen | 2022-02-07 10:01:08 +0100 |
---|---|---|
committer | Nikias Bassen | 2022-02-07 10:01:08 +0100 |
commit | 366f30b71cc79af1b3c80d98eb219cbc7e5e6b26 (patch) | |
tree | 22cca4d90ed8b47c77be64990ee58cc0031e6035 /test | |
parent | 863faf68a5864865ba3fbd9459ea7ed0a3076473 (diff) | |
download | libplist-366f30b71cc79af1b3c80d98eb219cbc7e5e6b26.tar.gz libplist-366f30b71cc79af1b3c80d98eb219cbc7e5e6b26.tar.bz2 |
test: Polish json3.test to not leave temp file after test
Diffstat (limited to 'test')
-rwxr-xr-x | test/json3.test | 8 |
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 |