olamy opened a new pull request, #3634:
URL: https://github.com/apache/maven-surefire/pull/3634
Follow-up to #3575. Starting the forked JVM without a shell changed a few
things in its environment:
- on Windows, a configured `PATH` no longer replaced the inherited `Path`,
the fork got both
- on Windows, excluding `PATH` no longer removed `Path`
- on Linux and macOS, `PWD` was Maven's directory instead of the fork's
working directory
Windows variable names are now matched ignoring case, like Windows does, and
`PWD` is set to the working directory again. A configured `PWD` still wins.
The `doesNotContain("PATH=")` checks in `ForkConfigurationTest` compared
whole `NAME=value` entries, so they could never fail. They now check the names.
The two new Windows tests were only run on Linux with a faked `os.name`, so
the Windows CI job is the real check here.
---
To make clear that you license your contribution under
the [Apache License Version 2.0, January
2004](https://www.apache.org/licenses/LICENSE-2.0)
check one of the following:
- [ ] I hereby declare this contribution to be licensed under the [Apache
License Version 2.0, January 2004](https://www.apache.org/licenses/LICENSE-2.0)
- [ ] I hereby declare that I have filed an [Apache Individual Contributor
License Agreement](https://www.apache.org/licenses/icla.pdf).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]