Skip to content

Isolate pacman tests from inherited LC_ALL - #12747

Merged
dhh merged 1 commit into
quattrofrom
simplify/pacman-test-environment
Sep 21, 2026
Merged

dhh merged 1 commit into
quattrofrom
simplify/pacman-test-environment

Conversation

@dhh

@dhh dhh commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

The pacman helper test expects its baseline invocation to omit LC_ALL, but the real helper correctly forwards an inherited value. Running the test under LC_ALL=C.UTF-8 therefore fails that expectation.

Unset LC_ALL before the baseline case. Keep the separate LC_ALL=C case that verifies explicit locale forwarding. Only the test changes.

Validation: reproduced the failure before the change. Both checks now pass with inherited LC_ALL=C.UTF-8 and with LC_ALL absent, producing identical results. The sudo stub records the command; no package transaction runs. git diff --check passes.

Claude reviewed commit 6f9f31e and found no actionable issues. It confirmed the baseline is isolated from the inherited variable and the explicit behavior checks remain effective.

@dhh
dhh marked this pull request as ready for review September 21, 2026 08:53
@dhh
dhh merged commit 07fc39c into quattro Sep 21, 2026
@dhh
dhh deleted the simplify/pacman-test-environment branch September 21, 2026 09:37
@emirb emirb added this to the 4.5 milestone Oct 17, 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