RFR: 8267721: Enable sun/security/pkcs11 tests for Amazon Linux 2 AArch64

Paul Hohensee phh at openjdk.java.net
Wed May 26 14:55:17 UTC 2021


On Wed, 26 May 2021 14:11:18 GMT, Evgeny Astigeevich <github.com+42899633+eastig at openjdk.org> wrote:

> Tests sun/security/pkcs11 are skipped on AArch64 Linux when they cannot find NSS libraries in one of the directories {'/usr/lib/aarch64-linux-gnu/', '/usr/lib/aarch64-linux-gnu/nss/'}. On Amazon Linux 2 the libraries are in /usr/lib64. 
> 
> This patch adds '/usr/lib64' to the search list of directories.
> Test:
> - Before the patch
> 
> $ make run-test TEST=sun/security/pkcs11
> $ cd build
> $ find . -name '*.jtr' -exec grep 'find NSS' {} ; | wc -l
> 129
> 
> - After the patch
> 
> $ make run-test TEST=sun/security/pkcs11
> $ cd build
> $ find . -name '*.jtr' -exec grep 'find NSS' {} ; | wc -l
> 0

Marked as reviewed by phh (Reviewer).

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

PR: https://git.openjdk.java.net/jdk/pull/4207



More information about the security-dev mailing list