changeset 344:2058f3daec43

6711435: console.sh uses incompatible == Reviewed-by: xuelei
author weijun
date Tue, 10 Jun 2008 11:03:23 +0800
parents e3de7e7bafcf
children 93dce0e374de
files test/sun/security/tools/keytool/console.sh
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/security/tools/keytool/console.sh	Tue Jun 10 10:51:33 2008 +0800
+++ b/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