]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/fuzzer/read-binary.test
Vendor import of compiler-rt trunk r351319 (just before the release_80
[FreeBSD/FreeBSD.git] / test / fuzzer / read-binary.test
1 # Test that libFuzzer reads files properly.
2
3 # Account for the fact that echo will add a trailing newline.
4 RUN: echo -e "Hello\r\nWorld\r" > %t-testcase
5 RUN: %cpp_compiler %S/ReadBinaryTest.cpp -o %t-fuzzer
6 RUN: %run %t-fuzzer %t-testcase | FileCheck %s
7 CHECK: BINGO!