2015-12-19 11:35:30 +08:00
|
|
|
RUN: not LLVMFuzzer-TimeoutTest -timeout=1 2>&1 | FileCheck %s --check-prefix=TimeoutTest
|
|
|
|
TimeoutTest: ALARM: working on the last Unit for
|
|
|
|
TimeoutTest: Test unit written to ./timeout-
|
|
|
|
TimeoutTest: == ERROR: libFuzzer: timeout after
|
|
|
|
TimeoutTest: #0
|
|
|
|
TimeoutTest: #1
|
|
|
|
TimeoutTest: #2
|
|
|
|
TimeoutTest: SUMMARY: libFuzzer: timeout
|
|
|
|
|
2016-03-18 03:59:39 +08:00
|
|
|
RUN: not LLVMFuzzer-TimeoutTest -timeout=1 %S/hi.txt 2>&1 | FileCheck %s --check-prefix=SingleInputTimeoutTest
|
2016-04-19 06:50:39 +08:00
|
|
|
SingleInputTimeoutTest: ALARM: working on the last Unit for {{[1-3]}} seconds
|
2015-12-19 11:35:30 +08:00
|
|
|
SingleInputTimeoutTest-NOT: Test unit written to ./timeout-
|
|
|
|
|
2016-01-30 07:30:07 +08:00
|
|
|
RUN: LLVMFuzzer-TimeoutTest -timeout=1 -timeout_exitcode=0
|