2020-09-02 00:22:59 +08:00
|
|
|
REQUIRES: linux, x86_64
|
|
|
|
RUN: %cpp_compiler %S/KeepSeedTest.cpp -o %t-CrossOverUniformDistTest
|
|
|
|
|
|
|
|
RUN: rm -rf %t-corpus
|
|
|
|
RUN: mkdir %t-corpus
|
|
|
|
RUN: echo -n "@SELECT" > %t-corpus/A
|
|
|
|
RUN: echo -n "@FROM WHERE" > %t-corpus/B
|
|
|
|
|
2020-09-16 01:33:23 +08:00
|
|
|
RUN: not %run %t-CrossOverUniformDistTest -keep_seed=1 -cross_over_uniform_dist=1 -seed=1 -runs=5000000 %t-corpus 2>&1 | FileCheck %s
|
2020-09-02 00:22:59 +08:00
|
|
|
CHECK: BINGO
|
|
|
|
|
|
|
|
RUN: rm -rf %t-corpus
|
|
|
|
RUN: mkdir %t-corpus
|
|
|
|
RUN: echo -n "@SELECT" > %t-corpus/A
|
|
|
|
RUN: echo -n "@FROM WHERE" > %t-corpus/B
|
2020-09-16 01:33:23 +08:00
|
|
|
RUN: %run %t-CrossOverUniformDistTest -keep_seed=1 -seed=1 -runs=5000000 %t-corpus 2>&1
|