Files
clang-p2996/compiler-rt/test/fuzzer/sigint.test
Paul Robinson 8a86860207 [fuzzer] Convert tests to check 'target=...'
Part of the project to eliminate special handling for triples in lit
expressions.
2022-12-16 11:41:53 -08:00

17 lines
412 B
Plaintext

REQUIRES: msan
UNSUPPORTED: target=arm{{.*}}
# Check that libFuzzer exits gracefully under SIGINT with MSan.
RUN: rm -rf %t
RUN: mkdir -p %t
RUN: %msan_compiler %S/SleepOneSecondTest.cpp -o %t/LFSIGINT
RUN: %run %t/LFSIGINT 2> %t/log & export PID=$!
RUN: sleep 2
RUN: kill -SIGINT $PID
RUN: sleep 3
RUN: cat %t/log | FileCheck %s
CHECK: libFuzzer: run interrupted; exiting
CHECK-NOT: WARNING: MemorySanitizer