Mercurial > hg > icedtea8-forest > jdk
changeset 14664:b9ec89d5d8fa
8025886: replace [[ and == bash extensions in regtest
Reviewed-by: dsamersoff, sla
author | igerasim |
---|---|
date | Mon, 20 Jan 2014 19:23:22 +0400 |
parents | 655f1d059a8c |
children | 2b92a111b4bd 67d5cb78784c |
files | test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh Thu Aug 06 06:23:30 2020 +0100 +++ b/test/sun/management/jmxremote/bootstrap/GeneratePropertyPassword.sh Mon Jan 20 19:23:22 2014 +0400 @@ -34,12 +34,13 @@ OS=`uname -s` UMASK=`umask` -if [[ $OS == CYGWIN_NT* ]] ; then +case $OS in +CYGWIN_NT*) OS="Windows_NT" if [ -z "$SystemRoot" ] ; then - SystemRoot=$SYSTEMROOT + SystemRoot=$SYSTEMROOT fi -fi +esac case $OS in SunOS | Linux | Darwin | AIX )