diff --git a/test/java/util/Currency/PropertiesTest.sh b/test/java/util/Currency/PropertiesTest.sh index b058c3d8534bdb577bc79fdaad0d93461259714b..420e9f92cea94b49b64852413446f81512eee61a 100644 --- a/test/java/util/Currency/PropertiesTest.sh +++ b/test/java/util/Currency/PropertiesTest.sh @@ -34,7 +34,7 @@ case "$OS" in PS=":" FS="/" ;; - Windows* ) + Windows* | CYGWIN* ) PS=";" FS="\\" ;; diff --git a/test/java/util/PluggableLocale/ExecTest.sh b/test/java/util/PluggableLocale/ExecTest.sh index b68a28cd8487e8e261f6b3188772ba793918643b..76b339ee4c34886aa43b72550bf3a3a382b0c612 100644 --- a/test/java/util/PluggableLocale/ExecTest.sh +++ b/test/java/util/PluggableLocale/ExecTest.sh @@ -62,7 +62,7 @@ case "$OS" in PS=":" FS="/" ;; - Windows* ) + Windows* | CYGWIN* ) PS=";" FS="\\" ;; diff --git a/test/java/util/ResourceBundle/Bug6299235Test.sh b/test/java/util/ResourceBundle/Bug6299235Test.sh index 6da631ebe4c90772cb663931a3bc27ffd1f95ad8..bb2d6a69165def7ad3598db13088338d842bf171 100644 --- a/test/java/util/ResourceBundle/Bug6299235Test.sh +++ b/test/java/util/ResourceBundle/Bug6299235Test.sh @@ -35,7 +35,7 @@ case "$OS" in PATHSEP=":" FILESEP="/" ;; - Windows* ) + Windows* | CYGWIN* ) PATHSEP=";" FILESEP="\\" ;; @@ -63,7 +63,7 @@ else fi if [ -d "${JRE_EXT_DIR}" ]; then - NEW_EXT_DIR=${JRE_EXT_DIR}${PATHSEP}${TESTSRC} + NEW_EXT_DIR="${JRE_EXT_DIR}${PATHSEP}${TESTSRC}" else NEW_EXT_DIR=${TESTSRC} fi diff --git a/test/java/util/ResourceBundle/Control/ExpirationTest.sh b/test/java/util/ResourceBundle/Control/ExpirationTest.sh index 449162ccc54e72ec4bc0edd8bf867d2a3edc0448..ac89bc136c6b9b823ce5035c56c32139b77a5534 100644 --- a/test/java/util/ResourceBundle/Control/ExpirationTest.sh +++ b/test/java/util/ResourceBundle/Control/ExpirationTest.sh @@ -69,7 +69,7 @@ export LC_ALL HAS_S=NO case "`uname`" in -Windows*) +Windows* | CYGWIN* ) DEL=";" ;; SunOS) diff --git a/test/java/util/ServiceLoader/basic.sh b/test/java/util/ServiceLoader/basic.sh index 4f80b17f553bfc108a11a378aab74d7edd91d6a9..68695678738c6df3928bdc9188b8992298b04b85 100644 --- a/test/java/util/ServiceLoader/basic.sh +++ b/test/java/util/ServiceLoader/basic.sh @@ -50,9 +50,9 @@ case "$OS" in SEP='\;' ;; esac -JARD=`pwd`/x.jar -EXTD=`pwd`/x.ext -TESTD=`pwd`/x.test +JARD=x.jar +EXTD=x.ext +TESTD=x.test if [ \! -d $EXTD ]; then # Initialize