changeset 4530:4af32446555d

7079144: concise_jarsigner.sh test often fails on solaris Reviewed-by: xuelei
author weijun
date Mon, 15 Aug 2011 11:43:09 +0800
parents b759d1a55cd4
children b07cf6cbb62a
files test/sun/security/tools/jarsigner/concise_jarsigner.sh
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/security/tools/jarsigner/concise_jarsigner.sh	Mon Aug 15 10:42:41 2011 +0800
+++ b/test/sun/security/tools/jarsigner/concise_jarsigner.sh	Mon Aug 15 11:43:09 2011 +0800
@@ -44,7 +44,10 @@
     ;;
 esac
 
-KT="$TESTJAVA${FS}bin${FS}keytool -storepass changeit -keypass changeit -keystore js.jks"
+# Choose 512-bit RSA to make sure it runs fine and fast on all platforms. In fact,
+# every keyalg/keysize combination is OK for this test.
+
+KT="$TESTJAVA${FS}bin${FS}keytool -storepass changeit -keypass changeit -keystore js.jks -keyalg rsa -keysize 512"
 JAR=$TESTJAVA${FS}bin${FS}jar
 JARSIGNER=$TESTJAVA${FS}bin${FS}jarsigner
 JAVAC=$TESTJAVA${FS}bin${FS}javac