summaryrefslogtreecommitdiff
path: root/tests/filename_sane.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/filename_sane.c')
-rw-r--r--tests/filename_sane.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/filename_sane.c b/tests/filename_sane.c
index 4d75326..a9f7224 100644
--- a/tests/filename_sane.c
+++ b/tests/filename_sane.c
@@ -31,15 +31,14 @@ static const char *must_not_work[] = {
};
static const char *must_not_work_here[] = {
-#if defined(_WIN32) || defined(__WINDOWS__)
+#if defined(_WIN32) || defined(__WINDOWS__) || defined(TEST_WIN32)
"fo<o", "fo>o", "fo:o", "fo\"o",
"fo|o", "fo?o", "fo*o", "fo\ro",
"CON", "PRN", "AUX", "NUL",
"COM1", "COM2", "LPT1", "LPT2",
"con", "prn", "aux", "nul",
"com1", "com2", "lpt1", "lpt2",
- "foo.AUX", "foo.NUL", "foo.aux", "foo.nul",
- "NUL.txt", "nul.txt"
+ "AUX.txt", "aux.txt", "NUL.txt", "nul.txt",
#endif
NULL,
};