Hello!

May I please have a review for a simple fix of the shell regtest?
Bash seems to accept both = and == comparisons, but sh accepts only =.

http://bugs.sun.com/view_bug.do?bug_id=8025886 (not yet visible.)

Sincerely yours,
Ivan


--- a/test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh
+++ b/test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh
@@ -34,7 +34,7 @@
 OS=`uname -s`
 UMASK=`umask`

-if [[ $OS == CYGWIN_NT* ]] ; then
+if [[ $OS = CYGWIN_NT* ]] ; then
     OS="Windows_NT"
     if [ -z "$SystemRoot" ] ;  then
     SystemRoot=$SYSTEMROOT

Reply via email to