xref: /aosp_15_r20/external/llvm/lib/Fuzzer/test/fuzzer-timeout.test (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard WorkerRUN: not LLVMFuzzer-TimeoutTest -timeout=1 2>&1 | FileCheck %s --check-prefix=TimeoutTest
2*9880d681SAndroid Build Coastguard WorkerTimeoutTest: ALARM: working on the last Unit for
3*9880d681SAndroid Build Coastguard WorkerTimeoutTest: Test unit written to ./timeout-
4*9880d681SAndroid Build Coastguard WorkerTimeoutTest: == ERROR: libFuzzer: timeout after
5*9880d681SAndroid Build Coastguard WorkerTimeoutTest: #0
6*9880d681SAndroid Build Coastguard WorkerTimeoutTest: #1
7*9880d681SAndroid Build Coastguard WorkerTimeoutTest: #2
8*9880d681SAndroid Build Coastguard WorkerTimeoutTest: SUMMARY: libFuzzer: timeout
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard WorkerRUN: not LLVMFuzzer-TimeoutTest -timeout=1 %S/hi.txt 2>&1 | FileCheck %s --check-prefix=SingleInputTimeoutTest
11*9880d681SAndroid Build Coastguard WorkerSingleInputTimeoutTest: ALARM: working on the last Unit for {{[1-3]}} seconds
12*9880d681SAndroid Build Coastguard WorkerSingleInputTimeoutTest-NOT: Test unit written to ./timeout-
13*9880d681SAndroid Build Coastguard Worker
14*9880d681SAndroid Build Coastguard WorkerRUN: LLVMFuzzer-TimeoutTest -timeout=1 -timeout_exitcode=0
15