7187051: ShortRSAKeynnn.sh tests should do cleanup before start test

Reviewed-by: xuelei
This commit is contained in:
Weijun Wang 2012-07-26 20:38:44 +08:00
parent e55dd14a45
commit cac7fc8e12

View file

@ -62,6 +62,13 @@ BITS=$1
case "$OS" in
Windows* | CYGWIN* )
echo "Removing the keypair if it already exists (for unknown reason)..."
${TESTJAVA}${FS}bin${FS}keytool \
-delete \
-storetype Windows-My \
-debug \
-alias 7106773.$BITS
echo "Creating a temporary RSA keypair in the Windows-My store..."
${TESTJAVA}${FS}bin${FS}keytool \
-genkeypair \