changeset 51461:58d7aa066071

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
author jjiang
date Thu, 16 Aug 2018 02:00:31 +0800
parents 97e361fe3433
children 9d7d74c6f2cb
files test/jdk/sun/security/ec/TestEC.java test/jdk/sun/security/tools/keytool/autotest.sh
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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;