Commit fcd700e
Remove TestMkdirAllReservedNames, which is redundant and fails on
Windows 11/Server 2025 where reserved device names are no longer
restricted.
Update TestEvalSymlinksReservedNames to probe OS behavior by
attempting os.MkdirAll with the reserved name before testing
EvalSymlinks. If directory creation succeeds the OS allows
reserved names and the subtest returns early; otherwise the
existing assertions run unchanged.
(cherry picked from commit 6bfbe86)
Co-authored-by: Dan Kortschak <dan.kortschak@elastic.co>
1 parent 2dcf039 commit fcd700e
1 file changed
Lines changed: 3 additions & 25 deletions
Lines changed: 3 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | 65 | | |
88 | 66 | | |
89 | 67 | | |
| |||
0 commit comments