You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
445 B
15 lines
445 B
# Check that libFuzzer honors SIGUSR1/SIGUSR2
|
|
# Disabled on Windows which does not have SIGUSR1/SIGUSR2.
|
|
UNSUPPORTED: darwin, windows, 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
|