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
--- 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;