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