Skip to content

test(pkg): cover empty directories in source overlays - #17056

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-vlxlkztmytow
Nov 22, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-vlxlkztmytow

Conversation

@rgrinberg

@rgrinberg rgrinberg commented Nov 15, 2026 •

Copy link
Copy Markdown
Member

Extend pkg/source-empty-dir.t with the lockfile-adjacent .files overlay case. Keep regular files as controls and correct the introduction to reflect that empty directories are currently omitted.

This records the existing input-staging limitation; it does not change staging behavior.

@rgrinberg
rgrinberg force-pushed the push-vlxlkztmytow branch 2 times, most recently from 1b4c957 to 2f2ca60 Compare November 16, 2026 18:12
@rgrinberg rgrinberg changed the title test(pkg): record omitted empty lockfile input directories test(pkg): cover empty directories in source overlays Nov 16, 2026
Extend source-empty-dir.t to cover lockfile-adjacent .files inputs alongside
local source directories. Both currently omit empty directories while
copying regular files. Reuse one package fixture and inspect the staged
tree directly rather than adding a separate test.

Correct the existing misleading introduction; this records the current
input-staging limitation without implementing a fix.

Signed-off-by: Rudi Grinberg <[email protected]>
@rgrinberg
rgrinberg merged commit ec660dc into ocaml:main Nov 22, 2026
37 of 64 checks passed
@Alizter Alizter added this to the 3.26.0 milestone Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants