RFR: 8335172: Add manual steps to run security/auth/callback/TextCallbackHandler/Password.java test

duke duke at openjdk.org
Wed Aug 7 11:32:32 UTC 2024


On Mon, 29 Jul 2024 12:43:04 GMT, Fernando Guallini <fguallini at openjdk.org> wrote:

> The test: **com/sun/security/auth/callback/TextCallbackHandler/Password.java** would benefit from detailed manual steps to ensure it runs correctly. It was added to the problem list because it was not executed properly and failed. Providing these steps will help prevent such issues in the future.
> 
> This test cannot be automated because [util/Password.java](https://github.com/openjdk/jdk/blob/cd52ad80a82c8165424722dcddd37d6584137031/src/java.base/share/classes/sun/security/util/Password.java#L58) verifies that the given input stream is equal to the **initialSystemIn**. As a result, the test cannot simulate user input by providing a custom input stream.
> 
> Additionally, move it from **jdk_security_manual_no_input** to **jdk_security_manual_interactive** because the user needs to enter several passwords and verify the console output. Also, the test was originally introduced in ticket ID: 6829785, added that information.

@fguallini 
Your change (at version ffcd5ae828ee02cab8772d9185ff76b001c7932f) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/20374#issuecomment-2273252148



More information about the security-dev mailing list