summaryrefslogtreecommitdiff
path: root/test/fuzzer/sigusr.test
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-11-09 21:30:33 +0000
committerKostya Serebryany <kcc@google.com>2017-11-09 21:30:33 +0000
commit60f3e3f7561a46a7fb5460d8658edd37aa2655c8 (patch)
tree9c48b0d3778a339c9c82277ee74d85cbe9f2881d /test/fuzzer/sigusr.test
parent9b44ad8cb235a91768b744f5e1d426e1aca98ae9 (diff)
[libFuzzer] make sure to flush IO when done merging one file
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@317835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/fuzzer/sigusr.test')
-rw-r--r--test/fuzzer/sigusr.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fuzzer/sigusr.test b/test/fuzzer/sigusr.test
index fce244fa5..0c1ec4dc7 100644
--- a/test/fuzzer/sigusr.test
+++ b/test/fuzzer/sigusr.test
@@ -23,7 +23,7 @@ RUN: killall -SIGUSR2 %t/LFSIGUSR
RUN: cat %t/log | FileCheck %s
RUN: grep C2/g %t/MCF
RUN: grep STARTED %t/MCF
-RUN: grep DONE %t/MCF
+RUN: tail -n 1 %t/MCF | grep DONE
CHECK: INFO: signal received, trying to exit gracefully
CHECK: INFO: libFuzzer: exiting as requested