blob: c80858e811348b31f598ac8fda0233d46060cf2a [file] [log] [blame]
Jonathan Metzman39b6ba92018-11-06 23:25:25 +00001# Test that libFuzzer reads files properly.
2
3# Account for the fact that echo will add a trailing newline.
4RUN: echo -e "Hello\r\nWorld\r" > %t-testcase
5RUN: %cpp_compiler %S/ReadBinaryTest.cpp -o %t-fuzzer
6RUN: %run %t-fuzzer %t-testcase | FileCheck %s
7CHECK: BINGO!