# HG changeset patch # User jjiang # Date 1534356031 -28800 # Node ID 58d7aa066071d05274d0a3e0b6e204c59028478b # Parent 97e361fe34335b5a52a948b8e31894c09d8541d2 8209537: Two security tests failed after JDK-8164639 due to dependency was missed Summary: Skip sun/security/tools/keytool/autotest.sh on macosx and add /test/lib to sun/security/ec/TestEC.java Reviewed-by: rhalade diff -r 97e361fe3433 -r 58d7aa066071 test/jdk/sun/security/ec/TestEC.java --- a/test/jdk/sun/security/ec/TestEC.java Wed Aug 15 18:41:18 2018 +0800 +++ b/test/jdk/sun/security/ec/TestEC.java Thu Aug 16 02:00:31 2018 +0800 @@ -30,6 +30,7 @@ * @test * @bug 6840752 8168078 * @summary Provide out-of-the-box support for ECC algorithms + * @library /test/lib * @library ../pkcs11 * @library ../pkcs11/ec * @library ../pkcs11/sslecc diff -r 97e361fe3433 -r 58d7aa066071 test/jdk/sun/security/tools/keytool/autotest.sh --- a/test/jdk/sun/security/tools/keytool/autotest.sh Wed Aug 15 18:41:18 2018 +0800 +++ b/test/jdk/sun/security/tools/keytool/autotest.sh Thu Aug 16 02:00:31 2018 +0800 @@ -86,9 +86,6 @@ "/usr/lib/nss/libsoftokn3.so"` fi ;; - Darwin ) - LIBNAME="$TESTSRC/../../pkcs11/nss/lib/macosx-x86_64/libsoftokn3.dylib" - ;; * ) echo "Will not run test on: ${OS}" exit 0;