1 REQUIRES: this-test-is-deprecated
2 UNSUPPORTED: target={{.*freebsd.*}}
3 RUN: %cpp_compiler %S/EquivalenceATest.cpp -o %t-EquivalenceATest
4 RUN: %cpp_compiler %S/EquivalenceBTest.cpp -o %t-EquivalenceBTest
6 RUN: %run %t-EquivalenceATest -run_equivalence_server=EQUIV_TEST & export APID=$!
8 RUN: not %run %t-EquivalenceBTest -use_equivalence_server=EQUIV_TEST -max_len=4096 2>&1 | FileCheck %s
9 CHECK: ERROR: libFuzzer: equivalence-mismatch. Sizes: {{.*}}; offset 2
10 CHECK: SUMMARY: libFuzzer: equivalence-mismatch