6910835: TESTS: 3 java/io run.sh tests fail when run on Windows XP CYGWIN
Reviewed-by: tbell, alanb
--- a/jdk/test/java/io/Serializable/evolution/RenamePackage/run.sh Mon Jan 04 15:30:26 2010 -0800
+++ b/jdk/test/java/io/Serializable/evolution/RenamePackage/run.sh Mon Jan 04 15:33:19 2010 -0800
@@ -43,7 +43,7 @@
case "$OS" in
SunOS | Linux )
PS=":" ;;
-Windows* )
+Windows* | CYGWIN* )
PS=";" ;;
* )
echo "Unrecognized system!"
@@ -85,14 +85,14 @@
${JAVAC} -d ${TESTCLASSES}/nclasses ${TESTSRC}/install/SerialDriver.java
# Run Case 1. Map test.SerialDriver within stream to install.SerialDriver.
-CLASSPATH=${TESTCLASSES}/oclasses${PS}${TESTCLASSES}/share; export CLASSPATH;
+CLASSPATH="${TESTCLASSES}/oclasses${PS}${TESTCLASSES}/share"; export CLASSPATH;
${JAVA} test.SerialDriver -s
-CLASSPATH=${TESTCLASSES}/nclasses${PS}${TESTCLASSES}/share; export CLASSPATH;
+CLASSPATH="${TESTCLASSES}/nclasses${PS}${TESTCLASSES}/share"; export CLASSPATH;
${JAVA} install.SerialDriver -d
rm stream.ser
# Run Case 2. Map install.SerialDriver within stream to test.SerialDriver.
-CLASSPATH=${TESTCLASSES}/nclasses${PS}${TESTCLASSES}/share; export CLASSPATH;
+CLASSPATH="${TESTCLASSES}/nclasses${PS}${TESTCLASSES}/share"; export CLASSPATH;
${JAVA} install.SerialDriver -s
-CLASSPATH=${TESTCLASSES}/oclasses${PS}${TESTCLASSES}/share; export CLASSPATH;
+CLASSPATH="${TESTCLASSES}/oclasses${PS}${TESTCLASSES}/share"; export CLASSPATH;
${JAVA} test.SerialDriver -d
--- a/jdk/test/java/io/Serializable/serialver/classpath/run.sh Mon Jan 04 15:30:26 2010 -0800
+++ b/jdk/test/java/io/Serializable/serialver/classpath/run.sh Mon Jan 04 15:33:19 2010 -0800
@@ -49,7 +49,7 @@
case "$OS" in
SunOS | Linux )
PS=":" ;;
- Windows* )
+ Windows* | CYGWIN* )
PS=";" ;;
* )
echo "Unrecognized system!"
--- a/jdk/test/java/io/Serializable/serialver/nested/run.sh Mon Jan 04 15:30:26 2010 -0800
+++ b/jdk/test/java/io/Serializable/serialver/nested/run.sh Mon Jan 04 15:33:19 2010 -0800
@@ -49,7 +49,7 @@
case "$OS" in
SunOS | Linux )
PS=":" ;;
- Windows* )
+ Windows* | CYGWIN* )
PS=";" ;;
* )
echo "Unrecognized system!"