◐ Shell
clean mode source ↗

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

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.