Skip to content

test(pkg): cover duplicate install-cookie entries - #17074

Merged
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:test-install-cookie-duplicates
Nov 24, 2026
Merged

Alizter merged 1 commit into
ocaml:mainfrom
Alizter:test-install-cookie-duplicates

Conversation

@Alizter

@Alizter Alizter commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Record the duplicate install-cookie entries produced when an install action copies a file also declared by its .install manifest. Cover the bin section and confirm a dependent package can still read the installed file; installation behavior is unchanged.

Found when working on #16995

…e cookie

A locked package whose install action copies a file that its .install
file also declares gets that file recorded twice in the install cookie:
in bin twice when both agree on the section, or in lib and libexec when
the scanner guesses from the executable bit (the earlier case in this
test). Record the current output before fixing it.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
@Alizter Alizter added test-suite package management Dune's package management — `(pkg)` stanza, lockdirs, `dune pkg` commands no changelog labels Nov 16, 2026
@Alizter
Alizter marked this pull request as ready for review November 16, 2026 16:21
@Alizter
Alizter merged commit abef27c into ocaml:main Nov 24, 2026
51 of 79 checks passed
@Alizter
Alizter deleted the test-install-cookie-duplicates branch November 24, 2026 12:26
@Alizter Alizter added this to the 3.26.0 milestone Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog package management Dune's package management — `(pkg)` stanza, lockdirs, `dune pkg` commands test-suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant