Kostya Serebryany | bf65644 | 2015-12-19 03:35:30 +0000 | [diff] [blame] | 1 | RUN: not LLVMFuzzer-TimeoutTest -timeout=1 2>&1 | FileCheck %s --check-prefix=TimeoutTest |
| 2 | TimeoutTest: ALARM: working on the last Unit for |
| 3 | TimeoutTest: Test unit written to ./timeout- |
| 4 | TimeoutTest: == ERROR: libFuzzer: timeout after |
| 5 | TimeoutTest: #0 |
| 6 | TimeoutTest: #1 |
| 7 | TimeoutTest: #2 |
| 8 | TimeoutTest: SUMMARY: libFuzzer: timeout |
| 9 | |
Kostya Serebryany | c5575aa | 2016-03-17 19:59:39 +0000 | [diff] [blame] | 10 | RUN: not LLVMFuzzer-TimeoutTest -timeout=1 %S/hi.txt 2>&1 | FileCheck %s --check-prefix=SingleInputTimeoutTest |
Kostya Serebryany | ebb932d | 2016-04-18 22:50:39 +0000 | [diff] [blame] | 11 | SingleInputTimeoutTest: ALARM: working on the last Unit for {{[1-3]}} seconds |
Kostya Serebryany | bf65644 | 2015-12-19 03:35:30 +0000 | [diff] [blame] | 12 | SingleInputTimeoutTest-NOT: Test unit written to ./timeout- |
| 13 | |
Kostya Serebryany | 54a6363 | 2016-01-29 23:30:07 +0000 | [diff] [blame] | 14 | RUN: LLVMFuzzer-TimeoutTest -timeout=1 -timeout_exitcode=0 |
Marcos Pividori | 64d4147 | 2016-12-13 17:46:25 +0000 | [diff] [blame] | 15 | |
| 16 | RUN: not LLVMFuzzer-TimeoutEmptyTest -timeout=1 2>&1 | FileCheck %s --check-prefix=TimeoutEmptyTest |
| 17 | TimeoutEmptyTest: ALARM: working on the last Unit for |
| 18 | TimeoutEmptyTest: == ERROR: libFuzzer: timeout after |
| 19 | TimeoutEmptyTest: SUMMARY: libFuzzer: timeout |