6711435: console.sh uses incompatible ==
authorweijun
Tue, 10 Jun 2008 11:03:23 +0800
changeset 706 c5a55ced6aff
parent 705 1db8adb3ea95
child 707 4e060643fb54
6711435: console.sh uses incompatible == Reviewed-by: xuelei
jdk/test/sun/security/tools/keytool/console.sh
--- 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