[libFuzzer] use pkill instead of killall in a test since the bots don't have killall
authorKostya Serebryany <kcc@google.com>
Thu, 9 Nov 2017 22:01:06 +0000 (22:01 +0000)
committerKostya Serebryany <kcc@google.com>
Thu, 9 Nov 2017 22:01:06 +0000 (22:01 +0000)
llvm-svn: 317840

compiler-rt/test/fuzzer/sigusr.test

index 0c1ec4d..f1a15a4 100644 (file)
@@ -19,7 +19,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: killall -SIGUSR2 %t/LFSIGUSR
+RUN: pkill -f -SIGUSR2 %t/LFSIGUSR
 RUN: cat %t/log | FileCheck %s
 RUN: grep C2/g %t/MCF
 RUN: grep STARTED %t/MCF