[jdk11u-dev] RFR: 8238268: Many SA tests are not running on OSX because they do not attempt to use sudo when available [v2]
Christoph Langer
clanger at openjdk.org
Fri Jul 22 22:27:56 UTC 2022
> This is a backport of [JDK-8238268](https://bugs.openjdk.org/browse/JDK-8238268). We need it, because the backport of [JDK-8215544](https://bugs.openjdk.org/browse/JDK-8215544) has added code that calls `sudo -E` on MacOS without the option `-n`. This call might not return when sudo starts prompting for a password. In our CI it leads to hanging processes when subsequent tests call sudo, even with the -n option. This fix rectifies that behavior. And, after all, it improves test coverage on MacOS, so it's a good backport candidate.
Christoph Langer has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
Backport a147636157c011dac5d8c7aa6809c3c55f1384fa
-------------
Changes:
- all: https://git.openjdk.org/jdk11u-dev/pull/1269/files
- new: https://git.openjdk.org/jdk11u-dev/pull/1269/files/854de394..990171d4
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1269&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1269&range=00-01
Stats: 5 lines in 1 file changed: 1 ins; 4 del; 0 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/1269.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1269/head:pull/1269
PR: https://git.openjdk.org/jdk11u-dev/pull/1269
More information about the jdk-updates-dev
mailing list