[libFuzzer] trying to make sigusr tests more reliable
authorKostya Serebryany <kcc@google.com>
Fri, 10 Nov 2017 00:26:23 +0000 (00:26 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 10 Nov 2017 00:26:23 +0000 (00:26 +0000)
llvm-svn: 317852

compiler-rt/test/fuzzer/merge-sigusr.test
compiler-rt/test/fuzzer/sigusr.test

index 058b5ec..52259e1 100644 (file)
@@ -15,6 +15,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: sleep 3
 RUN: cat %t/log | FileCheck %s
 RUN: grep C2/g %t/MCF
 RUN: grep STARTED %t/MCF
index 7164fe7..12e3ac9 100644 (file)
@@ -6,6 +6,7 @@ RUN: %cpp_compiler %S/SleepOneSecondTest.cpp -o %t/LFSIGUSR
 RUN: %t/LFSIGUSR 2> %t/log & export PID=$!
 RUN: sleep 2
 RUN: kill -SIGUSR1 $PID
+RUN: sleep 3
 RUN: cat %t/log | FileCheck %s
 
 CHECK: INFO: signal received, trying to exit gracefully