mirror of
https://github.com/minetest/irrlicht.git
synced 2025-07-04 01:00:26 +02:00
Shamelessly copy Josiah
This commit is contained in:
15
source/lib/json/tests/thirdparty/Fuzzer/test/fuzzer-dirs.test
vendored
Normal file
15
source/lib/json/tests/thirdparty/Fuzzer/test/fuzzer-dirs.test
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
RUN: rm -rf %t/SUB1
|
||||
RUN: mkdir -p %t/SUB1/SUB2/SUB3
|
||||
RUN: echo a > %t/SUB1/a
|
||||
RUN: echo b > %t/SUB1/SUB2/b
|
||||
RUN: echo c > %t/SUB1/SUB2/SUB3/c
|
||||
RUN: LLVMFuzzer-SimpleTest %t/SUB1 -runs=0 2>&1 | FileCheck %s --check-prefix=SUBDIRS
|
||||
SUBDIRS: READ units: 3
|
||||
RUN: echo zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz > %t/SUB1/long
|
||||
RUN: LLVMFuzzer-SimpleTest %t/SUB1 -runs=0 2>&1 | FileCheck %s --check-prefix=LONG
|
||||
LONG: INFO: -max_len is not provided, using 94
|
||||
RUN: rm -rf %t/SUB1
|
||||
|
||||
RUN: not LLVMFuzzer-SimpleTest NONEXISTENT_DIR 2>&1 | FileCheck %s --check-prefix=NONEXISTENT_DIR
|
||||
NONEXISTENT_DIR: No such directory: NONEXISTENT_DIR; exiting
|
||||
|
Reference in New Issue
Block a user