summaryrefslogtreecommitdiff
path: root/tests/libutil/fix_win32_filename.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libutil/fix_win32_filename.c')
-rw-r--r--tests/libutil/fix_win32_filename.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/libutil/fix_win32_filename.c b/tests/libutil/fix_win32_filename.c
index a4f71e8..e8932d6 100644
--- a/tests/libutil/fix_win32_filename.c
+++ b/tests/libutil/fix_win32_filename.c
@@ -22,6 +22,10 @@ static const struct {
{ "foo/bar/test.LPT1/bla", "foo/bar/test.LPT1_/bla" },
{ "C:\\/foo/COM1.bla/bar",
"C\xEF\x80\xBA\xEF\x81\x9c/foo/COM1_.bla/bar" },
+ { "com1", "com1_" },
+ { "COM1_", "COM1__" },
+ { "COM1__", "COM1___" },
+ { "COM1___", "COM1____" },
};
int main(int argc, char **argv)