diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-26 18:24:58 +0100 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-12-27 20:59:47 +0100 |
commit | b65ef6722a8756780bac042563d8d97629267e2d (patch) | |
tree | 05519f8240b6f38a1a4c7741f1340986a7d5323a | |
parent | 41db7d10d42da1eadb36d6bcae944efec83f0192 (diff) |
Fix filename_sane test for Windows
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r-- | tests/filename_sane.c | 5 |
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, }; |