Skip to content
Snippets Groups Projects
Commit a55f575a authored by Arseny Kapoulkine's avatar Arseny Kapoulkine
Browse files

tests: Fix OSX test failure

Apparently at some point OSX behavior when reading /dev/tty switched
from "can't open the file" to "the file can be opened and 0 bytes can be
read from it" which generates a wrong error and doesn't exercise the
code path we care about.
parent cb7b78b0
No related branches found
No related tags found
No related merge requests found
......@@ -598,7 +598,9 @@ TEST(document_load_file_special_folder)
// status_out_of_memory is somewhat counter-intuitive but on Linux ftell returns LONG_MAX for directories
CHECK(result.status == status_file_not_found || result.status == status_io_error || result.status == status_out_of_memory);
}
#endif
#if defined(__linux__)
TEST(document_load_file_special_device)
{
xml_document doc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment