8209537: Two security tests failed after JDK-8164639 due to dependency was missed
authorjjiang
Thu, 16 Aug 2018 02:00:31 +0800
changeset 51461 58d7aa066071
parent 51460 97e361fe3433
child 51462 9d7d74c6f2cb
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
test/jdk/sun/security/ec/TestEC.java
test/jdk/sun/security/tools/keytool/autotest.sh
--- 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;