brintos

brintos / llvm-project-archived public Read only

0
0
Text · 684 B · 1ee0960 Raw
16 lines · plain
1# AFL doesn't work on Windows. No reason to test the driver.2UNSUPPORTED: target={{.*(freebsd|windows).*}}3XFAIL: ios4RUN: %no_fuzzer_cpp_compiler %S/AFLDriverTest.cpp %libfuzzer_src/afl/afl_driver.cpp -o %t-AFLDriverTest5 6; Test that not specifying a stderr file isn't broken.7RUN: env -u AFL_DRIVER_STDERR_DUPLICATE_FILENAME %run %t-AFLDriverTest8 9; Test that specifying an invalid file causes a crash.10RUN: mkdir -p %t.dir11RUN: env ASAN_OPTIONS= AFL_DRIVER_STDERR_DUPLICATE_FILENAME="%t.dir" not --crash %run %t-AFLDriverTest12 13; Test that a file is created when specified as the duplicate stderr.14RUN: env AFL_DRIVER_STDERR_DUPLICATE_FILENAME=%t %run %t-AFLDriverTest15RUN: stat %t16