Commit 6bfbe86
authored
x-pack/filebeat/input/internal/httplog: fix reserved-name Windows tests (#49028)
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.1 parent 5b79ccc commit 6bfbe86
File tree
1 file changed
+3
-25
lines changed- x-pack/filebeat/input/internal/httplog
1 file changed
+3
-25
lines changedLines 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