Skip to content

test(install): refresh stale comments in install-with-var - #15295

Merged
rgrinberg merged 1 commit into
mainfrom
fix-6818-stale-install-comment
Jun 23, 2026
Merged

rgrinberg merged 1 commit into
mainfrom
fix-6818-stale-install-comment

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

The narration in install-with-var.t still described variable-expansion
restrictions on the install stanza (e.g. "Some variables are restricted in
[dst] of [bin] section because evaluating them could cause a dependency
cycle"
).

Those restrictions were removed in #10160, which dropped the corresponding
error outputs from the test but left the explanatory comments behind, so the
comments now contradict the (passing) commands.

This refreshes the comments to describe the current behaviour: variables can be
expanded in the [src]/[dst] of installed files, including in the [bin]
section. No commands or expected outputs change.

Context: #6818 asked to lift this very limitation; it was already resolved by
#10160 in 3.15.

🤖 Generated with Claude Code

The narration in this test still described the variable-expansion
restrictions on the install stanza (e.g. "Some variables are restricted in
[dst] of [bin] section"), but those restrictions were removed in #10160: that
PR dropped the error outputs while leaving the explanatory comments behind.
Update the comments to describe the current behaviour, namely that variables
can be expanded in [src]/[dst] of installed files, including in the [bin]
section.

Signed-off-by: Rudi Grinberg <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@rgrinberg
rgrinberg merged commit cc57f6d into main Jun 23, 2026
27 of 29 checks passed
@rgrinberg
rgrinberg deleted the fix-6818-stale-install-comment branch June 23, 2026 21:00
@Alizter Alizter added this to the 3.25.0 milestone Jul 8, 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