bolt/deps/llvm-18.1.8/compiler-rt/test/fuzzer/reject.test

10 lines
307 B
Text
Raw Normal View History

2025-02-14 19:21:04 +01:00
# Runs the Reject.cpp test,
# ensures that the input 'acc' is present in the corpus,
# and the input 'rej' is not.
RUN: rm -rf %t-corpus && mkdir %t-corpus
RUN: %cpp_compiler %S/Reject.cpp -o %t-Reject
RUN: %run %t-Reject -runs=1000000 %t-corpus
RUN: grep 'acc' %t-corpus/*
RUN: not grep 'rej' %t-corpus/*