mirror of
https://github.com/nlohmann/json.git
synced 2024-12-21 12:05:30 +08:00
11 lines
408 B
Plaintext
11 lines
408 B
Plaintext
|
; Test that not specifying a stderr file isn't broken.
|
||
|
RUN: unset AFL_DRIVER_STDERR_DUPLICATE_FILENAME
|
||
|
RUN: AFLDriverTest
|
||
|
|
||
|
; Test that specifying an invalid file causes a crash.
|
||
|
RUN: ASAN_OPTIONS= AFL_DRIVER_STDERR_DUPLICATE_FILENAME="%T" not --crash AFLDriverTest
|
||
|
|
||
|
; Test that a file is created when specified as the duplicate stderr.
|
||
|
RUN: AFL_DRIVER_STDERR_DUPLICATE_FILENAME=%t AFLDriverTest
|
||
|
RUN: stat %t
|