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
--- 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