diff options
author | Matt Morehouse <mascasa@google.com> | 2017-11-16 23:06:17 +0000 |
---|---|---|
committer | Matt Morehouse <mascasa@google.com> | 2017-11-16 23:06:17 +0000 |
commit | 7cfa6666a7ec1ef69c9f02ec88b4beae7e715755 (patch) | |
tree | b5a13052acb6d792d01dec75780ddbb1ee9637be /test | |
parent | 9bf73b7c576069750b5018f08a8fd457ef9f995b (diff) |
[libFuzzer] Make merge-sigusr.test work on Mac.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@318465 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/fuzzer/merge-sigusr.test | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/fuzzer/merge-sigusr.test b/test/fuzzer/merge-sigusr.test index 07043df15..efb00daa4 100644 --- a/test/fuzzer/merge-sigusr.test +++ b/test/fuzzer/merge-sigusr.test @@ -1,5 +1,4 @@ # Check that libFuzzer honors SIGUSR1/SIGUSR2 -REQUIRES: linux RUN: rm -rf %t RUN: mkdir -p %t RUN: %cpp_compiler %S/SleepOneSecondTest.cpp -o %t/LFSIGUSR @@ -15,7 +14,7 @@ RUN: echo g > %t/C2/g RUN: %t/LFSIGUSR -merge=1 -merge_control_file=%t/MCF %t/C1 %t/C2 2> %t/log & export PID=$! RUN: sleep 3 -RUN: pkill -f -SIGUSR2 %t/LFSIGUSR +RUN: pkill -SIGUSR2 -f %t/LFSIGUSR RUN: sleep 3 RUN: cat %t/log | FileCheck %s RUN: grep C2/g %t/MCF |