On Mon, 11 May 2026 21:59:05 GMT, Ashay Rane <[email protected]> wrote:
> The powershell binary is required to run these tests but in the GitHub > workflow that runs tests (specifically, in test.yml), we reset the PATH > environment variable on Windows, causing the GitHub workflow to fail if > you run these tests. The tests pass locally since local test runs don't > modify PATH. > > To make these tests pass in GitHub workflows, this patch updates the > tests to refer to PowerShell using the canonical path on Windows. See > https://github.com/raneashay/openjdk-jdk/actions/runs/25680763981/job/75401590988 > for a sample workflow run of the tier2 part1 tests, which include the > CngCipher and DupAlias tests. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 15f09cea Author: Ashay Rane <[email protected]> Committer: Mat Carter <[email protected]> URL: https://git.openjdk.org/jdk/commit/15f09ceaf9c2aee29aa2df39987099732c7c1cab Stats: 36 lines in 8 files changed: 23 ins; 0 del; 13 mod 8384371: CngCipher and DupAlias tests fail on Windows Reviewed-by: weijun, myankelevich ------------- PR: https://git.openjdk.org/jdk/pull/31127
