jdk/test/sun/security/tools/keytool/console.sh
changeset 706 c5a55ced6aff
parent 2 90ce3da70b43
child 715 f16baef3a20e
--- a/jdk/test/sun/security/tools/keytool/console.sh	Tue Jun 10 10:51:33 2008 +0800
+++ b/jdk/test/sun/security/tools/keytool/console.sh	Tue Jun 10 11:03:23 2008 +0800
@@ -30,7 +30,7 @@
 #
 # @run shell/manual console.sh
 
-if [ "$ALT_PASS" == "" ]; then
+if [ "$ALT_PASS" = "" ]; then
   export PASS=äöäöäöäö
 else
   export PASS=$ALT_PASS
@@ -54,7 +54,7 @@
 echo "   Enter key password for <mykey>"
 echo "         (RETURN if same as keystore password):  Enter keystore password:"
 echo "only response to the last prompt by typing $PASS and press ENTER"
-echo 
+echo
 echo "Only if all the command run correctly without showing any error "
 echo "or warning, this test passes."
 echo
@@ -87,3 +87,6 @@
 $JM/bin/keytool -keystore kkk -list
 echo $PASS| $J5/bin/keytool -keystore kkk -list
 echo $PASS| $JM/bin/keytool -keystore kkk -list
+rm kkk
+
+exit 0