mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
7187051: ShortRSAKeynnn.sh tests should do cleanup before start test
Reviewed-by: xuelei
This commit is contained in:
parent
e55dd14a45
commit
cac7fc8e12
1 changed files with 7 additions and 0 deletions
|
@ -62,6 +62,13 @@ BITS=$1
|
||||||
case "$OS" in
|
case "$OS" in
|
||||||
Windows* | CYGWIN* )
|
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..."
|
echo "Creating a temporary RSA keypair in the Windows-My store..."
|
||||||
${TESTJAVA}${FS}bin${FS}keytool \
|
${TESTJAVA}${FS}bin${FS}keytool \
|
||||||
-genkeypair \
|
-genkeypair \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue