提交 f50885d8 编写于 作者: W weijun

6711435: console.sh uses incompatible ==

Reviewed-by: xuelei
上级 b5765705
......@@ -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 "If you see both the prompts appear, say --"
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 @@ echo $PASS| $J5/bin/keytool -keystore kkk -genkey -dname CN=olala
$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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册