diff options
author | Nikias Bassen | 2021-12-23 03:09:07 +0100 |
---|---|---|
committer | Nikias Bassen | 2021-12-23 03:09:07 +0100 |
commit | 429cbc660ae14d4998715803b44c71abf0e4a339 (patch) | |
tree | 12fe08f5dcb00a380536198bac3fffd4eb7dd19b /test/recursion.test | |
parent | 70002721443dabaa99b56301b537980e137b6249 (diff) | |
download | libplist-429cbc660ae14d4998715803b44c71abf0e4a339.tar.gz libplist-429cbc660ae14d4998715803b44c71abf0e4a339.tar.bz2 |
Add support for JSON format
Diffstat (limited to 'test/recursion.test')
-rwxr-xr-x | test/recursion.test | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/recursion.test b/test/recursion.test index 0120a12..9946d81 100755 --- a/test/recursion.test +++ b/test/recursion.test @@ -1,7 +1,5 @@ ## -*- sh -*- -set -e - DATASRC=$top_srcdir/test/data TESTFILE=recursion.bplist DATAIN0=$DATASRC/$TESTFILE @@ -9,3 +7,9 @@ DATAOUT0=$top_builddir/test/data/$TESTFILE.out $top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0 +# test succeeds if plistutil fails +if [ $? -eq 0 ]; then + exit 1 +else + exit 0 +fi |