--- a/test/jdk/sun/security/tools/keytool/KeyToolTest.java Thu Sep 27 15:37:55 2018 +0200
+++ b/test/jdk/sun/security/tools/keytool/KeyToolTest.java Fri Sep 28 15:42:20 2018 +0800
@@ -22,10 +22,9 @@
*/
/*
- *
- *
+ * @test
+ * @author weijun.wang
* @summary Testing keytool
- * @author weijun.wang
*
* Run through autotest.sh and manualtest.sh
*
@@ -54,6 +53,12 @@
*
* ATTENTION:
* NSS PKCS11 config file are changed, DSA not supported now.
+ *
+ * @library /test/lib
+ * @modules java.base/sun.security.tools.keytool
+ * java.base/sun.security.util
+ * java.base/sun.security.x509
+ * @run main/othervm/timeout=600 -Dfile KeyToolTest
*/
import java.nio.file.Files;
@@ -68,6 +73,7 @@
import jdk.test.lib.util.FileUtils;
import sun.security.util.ObjectIdentifier;
+
public class KeyToolTest {
// The stdout and stderr outputs after a keytool run