Mike Aizatsky | 8ba86a5 | 2016-06-30 20:43:06 +0000 | [diff] [blame] | 1 | ; Test that not specifying a stderr file isn't broken. |
Vitaly Buka | d01720d | 2016-06-16 00:14:42 +0000 | [diff] [blame] | 2 | RUN: unset AFL_DRIVER_STDERR_DUPLICATE_FILENAME |
| 3 | RUN: AFLDriverTest |
| 4 | |
| 5 | ; Test that specifying an invalid file causes a crash. |
Vitaly Buka | 7bd4720 | 2016-06-16 01:52:48 +0000 | [diff] [blame] | 6 | RUN: ASAN_OPTIONS= AFL_DRIVER_STDERR_DUPLICATE_FILENAME="%T" not --crash AFLDriverTest |
Vitaly Buka | d01720d | 2016-06-16 00:14:42 +0000 | [diff] [blame] | 7 | |
| 8 | ; Test that a file is created when specified as the duplicate stderr. |
| 9 | RUN: AFL_DRIVER_STDERR_DUPLICATE_FILENAME=%t AFLDriverTest |
| 10 | RUN: stat %t |