brintos

brintos / llvm-project-archived public Read only

0
0
Text · 419 B · ac482d7 Raw
17 lines · plain
1REQUIRES: shell, msan2UNSUPPORTED: target=arm{{.*}}3 4# Check that libFuzzer exits gracefully under SIGINT with MSan.5RUN: rm -rf %t6RUN: mkdir -p %t7RUN: %msan_compiler %S/SleepOneSecondTest.cpp -o %t/LFSIGINT8 9RUN: %run %t/LFSIGINT 2> %t/log & export PID=$!10RUN: sleep 211RUN: kill -SIGINT $PID12RUN: sleep 313RUN: cat %t/log | FileCheck %s14 15CHECK: libFuzzer: run interrupted; exiting16CHECK-NOT: WARNING: MemorySanitizer17