1# Check that libFuzzer honors SIGUSR1/SIGUSR2 2# Disabled on Windows which does not have SIGUSR1/SIGUSR2. 3REQUIRES: shell 4UNSUPPORTED: darwin, target={{.*windows.*}}, target=aarch64{{.*}} 5RUN: rm -rf %t 6RUN: mkdir -p %t 7RUN: %cpp_compiler %S/SleepOneSecondTest.cpp -o %t/ForkSIGUSR 8 9RUN: %run %t/ForkSIGUSR -fork=3 -ignore_crashes=1 2>%t/log & export PID=$! 10RUN: sleep 3 11RUN: kill -SIGUSR2 $PID 12RUN: sleep 6 13RUN: cat %t/log | FileCheck %s --dump-input=fail 14 15CHECK: libFuzzer: {{.*}}exiting 16