summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2017-11-16 23:06:17 +0000
committerMatt Morehouse <mascasa@google.com>2017-11-16 23:06:17 +0000
commit12615ec49b745b0ed1ccacd1fa4d13d23d10751f (patch)
treee4c35c028d50c065267be682828d969c2492ac66
parentafcb70d0319a6e1b97cd74157e61f095cbc769c6 (diff)
downloadbcm5719-llvm-12615ec49b745b0ed1ccacd1fa4d13d23d10751f.tar.gz
bcm5719-llvm-12615ec49b745b0ed1ccacd1fa4d13d23d10751f.zip
[libFuzzer] Make merge-sigusr.test work on Mac.
llvm-svn: 318465
-rw-r--r--compiler-rt/test/fuzzer/merge-sigusr.test3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/test/fuzzer/merge-sigusr.test b/compiler-rt/test/fuzzer/merge-sigusr.test
index 07043df15f6..efb00daa464 100644
--- a/compiler-rt/test/fuzzer/merge-sigusr.test
+++ b/compiler-rt/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
OpenPOWER on IntegriCloud