Reverts llvm/llvm-project#160728 That appeared to be causing a buildbot failure; reverting this change while I investigate. https://lab.llvm.org/buildbot/#/builders/174/builds/25130
16 lines
489 B
Plaintext
16 lines
489 B
Plaintext
# Check that libFuzzer honors SIGUSR1/SIGUSR2
|
|
# Disabled on Windows which does not have SIGUSR1/SIGUSR2.
|
|
REQUIRES: shell
|
|
UNSUPPORTED: darwin, target={{.*windows.*}}, target=aarch64{{.*}}
|
|
RUN: rm -rf %t
|
|
RUN: mkdir -p %t
|
|
RUN: %cpp_compiler %S/SleepOneSecondTest.cpp -o %t/ForkSIGUSR
|
|
|
|
RUN: %run %t/ForkSIGUSR -fork=3 -ignore_crashes=1 2>%t/log & export PID=$!
|
|
RUN: sleep 3
|
|
RUN: kill -SIGUSR2 $PID
|
|
RUN: sleep 6
|
|
RUN: cat %t/log | FileCheck %s --dump-input=fail
|
|
|
|
CHECK: libFuzzer: {{.*}}exiting
|