| Kostya Serebryany | e2d0f63 | 2016-09-01 01:22:27 +0000 | [diff] [blame] | 1 | RUN: echo 'Hi!rv349f34t3gg' > not_minimal_crash |
| 2 | RUN: LLVMFuzzer-NullDerefTest -minimize_crash=1 not_minimal_crash -max_total_time=2 2>&1 | FileCheck %s |
| Kostya Serebryany | 38b5d3c | 2017-01-19 19:38:12 +0000 | [diff] [blame] | 3 | CHECK: CRASH_MIN: failed to minimize beyond ./minimized-from-{{.*}} (3 bytes), exiting |
| Kostya Serebryany | a31300e | 2016-12-13 00:40:47 +0000 | [diff] [blame] | 4 | RUN: LLVMFuzzer-NullDerefTest -minimize_crash=1 not_minimal_crash -max_total_time=2 -exact_artifact_path=exact_minimized_path 2>&1 | FileCheck %s --check-prefix=CHECK_EXACT |
| 5 | CHECK_EXACT: CRASH_MIN: failed to minimize beyond exact_minimized_path (3 bytes), exiting |
| 6 | RUN: rm not_minimal_crash minimized-from-* exact_minimized_path |
| Kostya Serebryany | 38b5d3c | 2017-01-19 19:38:12 +0000 | [diff] [blame] | 7 | |
| Marcos Pividori | 992e630 | 2017-02-08 00:02:59 +0000 | [diff] [blame] | 8 | RUN: echo -n 'abcd*xyz' > not_minimal_crash |
| Kostya Serebryany | dba9ded | 2017-03-24 21:09:16 +0000 | [diff] [blame] | 9 | RUN: LLVMFuzzer-SingleByteInputTest -minimize_crash=1 not_minimal_crash -exact_artifact_path=exact_minimized_path 2>&1 | FileCheck %s --check-prefix=MIN1 |
| 10 | MIN1: Test unit written to exact_minimized_path |
| 11 | MIN1: Test unit written to exact_minimized_path |
| Kostya Serebryany | 38b5d3c | 2017-01-19 19:38:12 +0000 | [diff] [blame] | 12 | MIN1: INFO: The input is small enough, exiting |
| 13 | MIN1: CRASH_MIN: failed to minimize beyond exact_minimized_path (1 bytes), exiting |