mirror of
https://github.com/libimobiledevice/libplist.git
synced 2026-05-17 20:30:34 +00:00
2cd858c679
Without the change tests ran in parallel occasionally clobber outputs of
one another and fail as:
$ make check -j16 VERBOSE=y
...
FAIL: huge
==========
Converting
File ../test/data/5.plist is open
PList XML parsing succeeded
PList BIN writing succeeded
PList BIN parsing succeeded
PList XML writing succeeded
Size of input and output is different
Input size : 4292380
Output size : 4305301
Comparing
PList parsing failed
FAIL huge.test (exit status: 3)
Closes: https://github.com/libimobiledevice/libplist/issues/234#issuecomment-1743820556
16 lines
290 B
Bash
Executable File
16 lines
290 B
Bash
Executable File
## -*- sh -*-
|
|
|
|
DATASRC=$top_srcdir/test/data
|
|
TESTFILE=recursion.bplist
|
|
DATAIN0=$DATASRC/$TESTFILE
|
|
DATAOUT0=$top_builddir/test/data/recursion.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
|