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

Evgeny Astigeevich github.com+42899633+eastig at openjdk.java.net
Wed May 26 21:12:13 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

This pull request has now been integrated.

Changeset: a859d87c
Author:    Evgeny Astigeevich <eastig at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a859d87cc1d0629609883968656f0187909a099d
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

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

Reviewed-by: phh

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

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



More information about the security-dev mailing list