1# Tests CrossOverTest.
2# We want to make sure that the test can find the input
3# ABCDEFGHIJ when given two other inputs in the seed corpus:
4# ABCDE00000 and
5# ZZZZZFGHIJ
6#
7RUN: %cpp_compiler %S/CrossOverTest.cpp -o %t-CrossOverTest
8
9RUN: rm -rf %t-corpus
10RUN: mkdir %t-corpus
11RUN: echo -n ABCDE00000 > %t-corpus/A
12RUN: echo -n ZZZZZFGHIJ > %t-corpus/B
13
14
15RUN: not %run %t-CrossOverTest -max_len=10 -reduce_inputs=0 -seed=1 -runs=10000000 %t-corpus
16
17# Test the same thing but using -seed_inputs instead of passing the corpus dir.
18RUN: not %run %t-CrossOverTest -max_len=10 -reduce_inputs=0 -seed=1 -runs=10000000 -seed_inputs=%t-corpus/A,%t-corpus/B
19