blob: beb086711834c308003a8ef6740ef60b5c812daa [file] [log] [blame]
Kostya Serebryanybf656442015-12-19 03:35:30 +00001RUN: not LLVMFuzzer-TimeoutTest -timeout=1 2>&1 | FileCheck %s --check-prefix=TimeoutTest
2TimeoutTest: ALARM: working on the last Unit for
3TimeoutTest: Test unit written to ./timeout-
4TimeoutTest: == ERROR: libFuzzer: timeout after
5TimeoutTest: #0
6TimeoutTest: #1
7TimeoutTest: #2
8TimeoutTest: SUMMARY: libFuzzer: timeout
9
Kostya Serebryanyc5575aa2016-03-17 19:59:39 +000010RUN: not LLVMFuzzer-TimeoutTest -timeout=1 %S/hi.txt 2>&1 | FileCheck %s --check-prefix=SingleInputTimeoutTest
Kostya Serebryanyebb932d2016-04-18 22:50:39 +000011SingleInputTimeoutTest: ALARM: working on the last Unit for {{[1-3]}} seconds
Kostya Serebryanybf656442015-12-19 03:35:30 +000012SingleInputTimeoutTest-NOT: Test unit written to ./timeout-
13
Kostya Serebryany54a63632016-01-29 23:30:07 +000014RUN: LLVMFuzzer-TimeoutTest -timeout=1 -timeout_exitcode=0
Marcos Pividori64d41472016-12-13 17:46:25 +000015
16RUN: not LLVMFuzzer-TimeoutEmptyTest -timeout=1 2>&1 | FileCheck %s --check-prefix=TimeoutEmptyTest
17TimeoutEmptyTest: ALARM: working on the last Unit for
18TimeoutEmptyTest: == ERROR: libFuzzer: timeout after
19TimeoutEmptyTest: SUMMARY: libFuzzer: timeout