[libFuzzer] Fix flaky merge.test.
authorMatt Morehouse <mascasa@google.com>
Fri, 17 Nov 2017 00:11:12 +0000 (00:11 +0000)
committerMatt Morehouse <mascasa@google.com>
Fri, 17 Nov 2017 00:11:12 +0000 (00:11 +0000)
llvm-svn: 318475

compiler-rt/test/fuzzer/merge.test

index d77a447..d174055 100644 (file)
@@ -58,7 +58,7 @@ MERGE_WITH_CRASH: MERGE-OUTER: succesfull in 2 attempt(s)
 MERGE_WITH_CRASH: MERGE-OUTER: 3 new files
 
 # Check that we actually limit the size with max_len
-RUN: rm %t/T1/*
+RUN: rm %t/T1/* %t/T2/*
 RUN: echo 'FUZZER' > %t/T2/FUZZER
 RUN: %t-FullCoverageSetTest -merge=1 %t/T1 %t/T2  -max_len=5 2>&1 | FileCheck %s --check-prefix=MERGE_LEN5
 RUN: not grep FUZZER %t/T1/*