Skip to content

test: fix cp.exec-any-shells test on windows with wsl#63118

Open
nadalaba wants to merge 1 commit intonodejs:mainfrom
nadalaba:fix-win-shell-test
Open

test: fix cp.exec-any-shells test on windows with wsl#63118
nadalaba wants to merge 1 commit intonodejs:mainfrom
nadalaba:fix-win-shell-test

Conversation

@nadalaba
Copy link
Copy Markdown

@nadalaba nadalaba commented May 4, 2026

test-child-process-exec-any-shells-windows tries to symlink any bash executable it finds on PATH.
However, if WSL is installed on the system, it'll try to symlink C:\Users\<user>\AppData\Local\Microsoft\WindowsApps\bash.exe and C:\Windows\System32\bash.exe and will fail.
The former is a virtual file that can't be symlinked, and the later won't work as expected from the symlink.

Signed-off-by: Nad Alaba <37968805+nadalaba@users.noreply.github.com>
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels May 4, 2026
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants