7036518: TEST_BUG: add cygwin support to test/java/nio/charset/coders/CheckSJISMappingProp.sh
authormchung
Mon, 08 Aug 2011 16:26:25 -0700
changeset 10148 b951831be5f9
parent 10147 cd5c99f94305
child 10149 3b6ad02f4a40
7036518: TEST_BUG: add cygwin support to test/java/nio/charset/coders/CheckSJISMappingProp.sh 7036519: TEST_BUG: add cygwin support to test/demo/zipfs/basic.sh Reviewed-by: sherman
jdk/test/demo/zipfs/basic.sh
jdk/test/java/nio/charset/coders/CheckSJISMappingProp.sh
--- a/jdk/test/demo/zipfs/basic.sh	Mon Aug 08 09:07:43 2011 -0700
+++ b/jdk/test/demo/zipfs/basic.sh	Mon Aug 08 16:26:25 2011 -0700
@@ -39,7 +39,7 @@
 
 OS=`uname -s`
 case "$OS" in
-    Windows_* )
+    Windows_* | CYGWIN* )
         CLASSPATH="${TESTCLASSES};${ZIPFS}"
         ;;
     * )
--- a/jdk/test/java/nio/charset/coders/CheckSJISMappingProp.sh	Mon Aug 08 09:07:43 2011 -0700
+++ b/jdk/test/java/nio/charset/coders/CheckSJISMappingProp.sh	Mon Aug 08 16:26:25 2011 -0700
@@ -36,7 +36,7 @@
 case "$OS" in
   SunOS | Linux ) ;;
   # Skip locale test for Windows
-  Windows* )
+  Windows* | CYGWIN* )
     echo "Passed"; exit 0 ;;
   * ) echo "Unrecognized system!" ;  exit 1 ;;
 esac