diff options
| author | Kostya Serebryany <kcc@google.com> | 2019-02-13 04:04:45 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2019-02-13 04:04:45 +0000 |
| commit | d085748484193f3b4f9c73fa339b4390f7092f41 (patch) | |
| tree | 698ad78e84b6b0a799d8c8cf2ad8c4f072372373 /compiler-rt/test | |
| parent | 55fb5314b39efe168538727df68b104913641d5d (diff) | |
| download | bcm5719-llvm-d085748484193f3b4f9c73fa339b4390f7092f41.tar.gz bcm5719-llvm-d085748484193f3b4f9c73fa339b4390f7092f41.zip | |
[libFuzzer] a bit of refactoring of the fork mode
llvm-svn: 353910
Diffstat (limited to 'compiler-rt/test')
| -rw-r--r-- | compiler-rt/test/fuzzer/merge-control-file.test | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler-rt/test/fuzzer/merge-control-file.test b/compiler-rt/test/fuzzer/merge-control-file.test index e7cb0eabf98..0fed3756533 100644 --- a/compiler-rt/test/fuzzer/merge-control-file.test +++ b/compiler-rt/test/fuzzer/merge-control-file.test @@ -12,10 +12,11 @@ RUN: echo ..Z... > %t/T0/3 # Test what happens if the control file is junk. +RUN: rm -f %t/T1/*; cp %t/T0/* %t/T1 RUN: echo JUNK > %t/MCF -RUN: not %run %t/T.exe -merge=1 %t/T1 %t/T2 -merge_control_file=%t/MCF 2>&1 | FileCheck %s --check-prefix=JUNK +RUN: %run %t/T.exe -merge=1 %t/T1 %t/T2 -merge_control_file=%t/MCF 2>&1 | FileCheck %s --check-prefix=JUNK RUN: echo 3 > %t/MCF; echo 0 >> %t/MCF; echo %t/T1/1 >> %t/MCF -RUN: not %run %t/T.exe -merge=1 %t/T1 %t/T2 -merge_control_file=%t/MCF 2>&1 | FileCheck %s --check-prefix=JUNK +RUN: %run %t/T.exe -merge=1 %t/T1 %t/T2 -merge_control_file=%t/MCF 2>&1 | FileCheck %s --check-prefix=JUNK JUNK: MERGE-OUTER: non-empty control file provided: {{.*}}MCF JUNK: MERGE-OUTER: bad control file, will overwrite it |

