diff options
| author | 2023-10-03 10:41:32 +0100 | |
|---|---|---|
| committer | 2023-10-03 10:41:32 +0100 | |
| commit | 2cd858c679d25633077ca78b67182a9b77653816 (patch) | |
| tree | 432890e32f7cc611004bba596d688c5e7a46cba9 /test/timezone2.test | |
| parent | d45396aad911d496494a587bd2d3ef20c2e8a8d0 (diff) | |
| download | libplist-2cd858c679d25633077ca78b67182a9b77653816.tar.gz libplist-2cd858c679d25633077ca78b67182a9b77653816.tar.bz2 | |
test: use unique output file names across tests
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
Diffstat (limited to 'test/timezone2.test')
| -rwxr-xr-x | test/timezone2.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/timezone2.test b/test/timezone2.test index 57db720..79db523 100755 --- a/test/timezone2.test +++ b/test/timezone2.test | |||
| @@ -5,10 +5,10 @@ set -e | |||
| 5 | DATASRC=$top_srcdir/test/data | 5 | DATASRC=$top_srcdir/test/data |
| 6 | TESTFILE=7.plist | 6 | TESTFILE=7.plist |
| 7 | DATAIN0=$DATASRC/$TESTFILE | 7 | DATAIN0=$DATASRC/$TESTFILE |
| 8 | DATAOUT0=$top_builddir/test/data/$TESTFILE.bin | 8 | DATAOUT0=$top_builddir/test/data/timezone2.test.bin |
| 9 | DATAOUT1=$top_builddir/test/data/$TESTFILE.tz0.xml | 9 | DATAOUT1=$top_builddir/test/data/timezone2.test.tz0.xml |
| 10 | DATAOUT2=$top_builddir/test/data/$TESTFILE.tz1.xml | 10 | DATAOUT2=$top_builddir/test/data/timezone2.test.tz1.xml |
| 11 | DATAOUT3=$top_builddir/test/data/$TESTFILE.tz2.xml | 11 | DATAOUT3=$top_builddir/test/data/timezone2.test.tz2.xml |
| 12 | 12 | ||
| 13 | TZ=UTC $top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0 | 13 | TZ=UTC $top_builddir/tools/plistutil -i $DATAIN0 -o $DATAOUT0 |
| 14 | 14 | ||
