RFR: 8347067: Load certificates without explicit trust settings in KeyChainStore

Tim Jacomb duke at openjdk.org
Fri Jan 24 21:17:28 UTC 2025


On Tue, 7 Jan 2025 20:20:46 GMT, Tim Jacomb <duke at openjdk.org> wrote:

>> The test should be marked as `@run junit/manual ` and added to the `jdk_security_manual_interactive` part of the TEST.groups
>
> Any idea how I can run the test after making those changes?
> 
> The test just gets skipped with:
> 
> 
> CONF=release make test TEST=test/jdk/java/security/KeyStore/CheckMacOSKeyChainIntermediateCATrust.java
> 
> 
> I've checked through:
> https://openjdk.org/jtreg/faq.html#how-do-i-run-only-tests-requiring-manual-intervention
> 
> and I saw somewhere mention of passing `-manual` but I can't get that to work with `make test`

I was able to run it by setting up `jtreg` and avoiding the `make test` task.


jtreg.sh -manual test/jdk/java/security/KeyStore/CheckMacOSKeyChainIntermediateCATrust.java


Although it seems it ran anyway without passing manual:


jtreg.sh test/jdk/java/security/KeyStore/CheckMacOSKeyChainIntermediateCATrust.java

Test results: passed: 1

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22911#discussion_r1906018084


More information about the security-dev mailing list