• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1REQUIRES: msan
2
3# Check that libFuzzer exits gracefully under SIGINT with MSan.
4RUN: rm -rf %t
5RUN: mkdir -p %t
6RUN: %msan_compiler %S/SleepOneSecondTest.cpp -o %t/LFSIGINT
7
8RUN: %run %t/LFSIGINT 2> %t/log & export PID=$!
9RUN: sleep 2
10RUN: kill -SIGINT $PID
11RUN: sleep 3
12RUN: cat %t/log | FileCheck %s
13
14CHECK: libFuzzer: run interrupted; exiting
15CHECK-NOT: WARNING: MemorySanitizer
16