2016-05-26 05:00:17 +08:00
|
|
|
# Test truncate_units option.
|
|
|
|
RUN: rm -rf FuzzerTruncateTestCORPUS
|
|
|
|
RUN: mkdir FuzzerTruncateTestCORPUS
|
|
|
|
RUN: echo "01234567890123456789012345678901234567890" > FuzzerTruncateTestCORPUS/unit1
|
2016-08-31 04:49:07 +08:00
|
|
|
RUN: LLVMFuzzer-EmptyTest -seed=1 -runs=0 -truncate_units=1 ./FuzzerTruncateTestCORPUS 2>&1 | FileCheck %s
|
2016-05-26 05:00:17 +08:00
|
|
|
RUN: rm -rf FuzzerTruncateTestCORPUS
|
2016-08-31 04:49:07 +08:00
|
|
|
|
|
|
|
CHECK: INFO TRUNC 1 units added
|