Commit 3ee8b2b
fix(e2e): restore MkdirAll in extractTar for archives missing directory entries
The Linux elastic-agent snapshot tar omits explicit directory entries
for some paths (e.g. components/certs/), unlike the macOS archive.
Restore MkdirAll for regular files and symlinks in extractTar only;
extractZip intentionally omits it per PR elastic#4985 review feedback to
catch missing directory entries in zip archives we produce ourselves.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 46a32af commit 3ee8b2b
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
232 | 237 | | |
233 | 238 | | |
234 | 239 | | |
| |||
245 | 250 | | |
246 | 251 | | |
247 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
248 | 256 | | |
249 | 257 | | |
250 | 258 | | |
| |||
0 commit comments