summaryrefslogtreecommitdiff
path: root/tests/test_document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_document.cpp')
-rw-r--r--tests/test_document.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp
index 08d836c..a909007 100644
--- a/tests/test_document.cpp
+++ b/tests/test_document.cpp
@@ -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;