[compiler-rt] r317852 - [libFuzzer] trying to make sigusr tests more reliable
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 9 16:26:24 PST 2017
Author: kcc
Date: Thu Nov 9 16:26:23 2017
New Revision: 317852
URL: http://llvm.org/viewvc/llvm-project?rev=317852&view=rev
Log:
[libFuzzer] trying to make sigusr tests more reliable
Modified:
compiler-rt/trunk/test/fuzzer/merge-sigusr.test
compiler-rt/trunk/test/fuzzer/sigusr.test
Modified: compiler-rt/trunk/test/fuzzer/merge-sigusr.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/fuzzer/merge-sigusr.test?rev=317852&r1=317851&r2=317852&view=diff
==============================================================================
--- compiler-rt/trunk/test/fuzzer/merge-sigusr.test (original)
+++ compiler-rt/trunk/test/fuzzer/merge-sigusr.test Thu Nov 9 16:26:23 2017
@@ -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
Modified: compiler-rt/trunk/test/fuzzer/sigusr.test
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/fuzzer/sigusr.test?rev=317852&r1=317851&r2=317852&view=diff
==============================================================================
--- compiler-rt/trunk/test/fuzzer/sigusr.test (original)
+++ compiler-rt/trunk/test/fuzzer/sigusr.test Thu Nov 9 16:26:23 2017
@@ -6,6 +6,7 @@ RUN: %cpp_compiler %S/SleepOneSecondTest
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
More information about the llvm-commits
mailing list