bolt/deps/llvm-18.1.8/compiler-rt/test/fuzzer/read-binary.test

8 lines
268 B
Text
Raw Normal View History

2025-02-14 19:21:04 +01:00
# Test that libFuzzer reads files properly.
# Account for the fact that echo will add a trailing newline.
RUN: echo -e "Hello\r\nWorld\r" > %t-testcase
RUN: %cpp_compiler %S/ReadBinaryTest.cpp -o %t-fuzzer
RUN: %run %t-fuzzer %t-testcase | FileCheck %s
CHECK: BINGO!