brintos

brintos / llvm-project-archived public Read only

0
0
Text · 538 B · c8a77ac Raw
18 lines · plain
1# FIXME: Disabled on Windows for now because of reliance on posix only features2# (eg: export, "&", pkill).3REQUIRES: shell4UNSUPPORTED: darwin, target={{.*windows.*}}5# Check that libFuzzer honors SIGUSR1/SIGUSR26RUN: rm -rf %t7RUN: mkdir -p %t8RUN: %cpp_compiler %S/SleepOneSecondTest.cpp -o %t/LFSIGUSR9 10RUN: %run %t/LFSIGUSR 2> %t/log & export PID=$!11RUN: sleep 212RUN: kill -SIGUSR1 $PID13RUN: sleep 314RUN: cat %t/log | FileCheck %s15 16CHECK: INFO: signal received, trying to exit gracefully17CHECK: INFO: libFuzzer: exiting as requested18