1 # FIXME: Disabled on Windows for now because of reliance on posix only features
2 # (eg: export, "&", pkill).
4 UNSUPPORTED: darwin, target={{.*windows.*}}
5 # Check that libFuzzer honors SIGUSR1/SIGUSR2
8 RUN: %cpp_compiler %S/SleepOneSecondTest.cpp -o %t/LFSIGUSR
10 RUN: %run %t/LFSIGUSR 2> %t/log & export PID=$!
12 RUN: kill -SIGUSR1 $PID
14 RUN: cat %t/log | FileCheck %s
16 CHECK: INFO: signal received, trying to exit gracefully
17 CHECK: INFO: libFuzzer: exiting as requested