# HG changeset patch # User weijun # Date 1213067003 -28800 # Node ID c5a55ced6aff723f17ce673962ccd64a99cb3bd0 # Parent 1db8adb3ea95fc14f68e9ca692be1ff7a3802ceb 6711435: console.sh uses incompatible == Reviewed-by: xuelei diff -r 1db8adb3ea95 -r c5a55ced6aff 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 " 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