[release/v7.6.1] Fix the `PSNativeCommandArgumentPassing` test by adityapatwardhan · Pull Request #27179 · PowerShell/PowerShell · GitHub
Skip to content

[release/v7.6.1] Fix the PSNativeCommandArgumentPassing test#27179

Merged
adityapatwardhan merged 1 commit intoPowerShell:release/v7.6.1from
adityapatwardhan:backport/release/v7.6.1/27057-78e437c6f
Apr 3, 2026
Merged

[release/v7.6.1] Fix the PSNativeCommandArgumentPassing test#27179
adityapatwardhan merged 1 commit intoPowerShell:release/v7.6.1from
adityapatwardhan:backport/release/v7.6.1/27057-78e437c6f

Conversation

@adityapatwardhan
Copy link
Copy Markdown
Member

Backport of #27057 to release/v7.6.1

Triggered by @adityapatwardhan on behalf of @daxian-dbw

Original CL Label: CL-Test

/cc @PowerShell/powershell-maintainers

Impact

REQUIRED: Choose either Tooling Impact or Customer Impact (or both). At least one checkbox must be selected.

Tooling Impact

  • Required tooling change
  • Optional tooling change (include reasoning)

This backport fixes a failing test in release automation for stable/LTS servicing branches, which is required to keep validation pipelines healthy.

Customer Impact

  • Customer reported
  • Found internally

Regression

REQUIRED: Check exactly one box.

  • Yes
  • No

This is not a regression.

Testing

Verified that the original merged change was cherry-picked cleanly to release/v7.6.1 with no conflicts and reviewed the test update scope to ensure it remains limited to test behavior.

Risk

REQUIRED: Check exactly one box.

  • High
  • Medium
  • Low

The change is test-only and scoped to the PSNativeCommandArgumentPassing test; no production runtime code paths are modified.

@adityapatwardhan adityapatwardhan added the CL-Test Indicates that a PR should be marked as a test change in the Change Log label Apr 2, 2026
Copilot AI review requested due to automatic review settings April 2, 2026 23:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Backport to release/v7.6.1 that fixes a failing CI test by aligning the expected default value of $PSNativeCommandArgumentPassing with the platform default set by the engine.

Changes:

  • Simplifies the Windows assertion to always expect Windows for $PSNativeCommandArgumentPassing on Windows.

@adityapatwardhan adityapatwardhan merged commit 0ef9498 into PowerShell:release/v7.6.1 Apr 3, 2026
40 checks passed
@adityapatwardhan adityapatwardhan deleted the backport/release/v7.6.1/27057-78e437c6f branch April 3, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-Test Indicates that a PR should be marked as a test change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants