2 UNSUPPORTED: target={{.*windows.*}}
3 RUN: %cpp_compiler %S/FullCoverageSetTest.cpp -o %t-FullCoverageSetTest
5 RUN: rm -rf %tmp/T1 %tmp/T2
6 RUN: mkdir -p %tmp/T1 %tmp/T2
8 RUN: echo F..... > %tmp/T1/1
9 RUN: echo .U.... > %tmp/T1/2
10 RUN: echo ..Z... > %tmp/T1/3
12 RUN: echo .....F > %tmp/T2/1
13 RUN: echo ....U. > %tmp/T2/2
14 RUN: echo ...Z.. > %tmp/T2/3
15 RUN: echo ...Z.. > %tmp/T2/4
16 RUN: echo ....E. > %tmp/T2/5
17 RUN: echo .....R > %tmp/T2/6
19 # Check that we can report an error if file size exceeded
20 RUN: (ulimit -f 1; not %run %t-FullCoverageSetTest -merge=1 %tmp/T1 %tmp/T2 2>&1 | FileCheck %s --check-prefix=SIGXFSZ)
21 SIGXFSZ: ERROR: libFuzzer: file size exceeded
23 # Check that we honor TMPDIR
24 RUN: TMPDIR=DIR_DOES_NOT_EXIST not %run %t-FullCoverageSetTest -merge=1 %tmp/T1 %tmp/T2 2>&1 | FileCheck %s --check-prefix=TMPDIR
25 TMPDIR: MERGE-OUTER: failed to write to the control file: DIR_DOES_NOT_EXIST/libFuzzerTemp