diff options
Diffstat (limited to 'test/malformed_dict.test')
| -rwxr-xr-x | test/malformed_dict.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/malformed_dict.test b/test/malformed_dict.test new file mode 100755 index 0000000..1d3ba2b --- /dev/null +++ b/test/malformed_dict.test @@ -0,0 +1,15 @@ +## -*- sh -*- + +DATASRC=$top_srcdir/test/data +TESTFILE=malformed_dict.bplist +DATAIN0=$DATASRC/$TESTFILE +DATAOUT0=$top_builddir/test/data/malformed_dict.test.out + +$top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0 + +# test succeeds if plistutil fails +if [ $? -eq 0 ]; then + exit 1 +else + exit 0 +fi |
