Replace reftest with a problematic file name with a unit test.

Fix #7609, "error: unable to create file tests/ref/hello_a?foo#bar.html
(Invalid argument)" during git checkout on Windows.

Behavior change: passing an nonexistent file name on the command line
now shows a blank page (like network errors)
rather than exit with an error message.
This commit is contained in:
Simon Sapin 2015-09-12 14:14:40 +02:00
parent 8d7ba12f28
commit 43c999905c
6 changed files with 53 additions and 30 deletions

View file

@ -14,3 +14,4 @@ extern crate euclid;
#[cfg(test)] mod vec;
#[cfg(test)] mod mem;
#[cfg(test)] mod str;
#[cfg(test)] mod opts;