jdk/test/com/sun/tools/attach/BasicTests.sh
changeset 5813 8e455cd3e807
parent 5506 202f599c92aa
child 9035 1255eb81cc2f
child 9259 f63768ad58c5
--- a/jdk/test/com/sun/tools/attach/BasicTests.sh	Sun Jun 20 14:51:33 2010 -0700
+++ b/jdk/test/com/sun/tools/attach/BasicTests.sh	Sun Jun 20 14:53:36 2010 -0700
@@ -37,6 +37,21 @@
   exit 1
 fi
 
+# Windows 2000 is a problem here, so we skip it, see 6962615
+osrev=`uname -a`
+if [ "`echo ${osrev} | grep 'CYGWIN'`" != "" ] ; then
+  if [ "`echo ${osrev} | grep '5.0'`" != "" ] ; then
+     echo "Treating as a pass, not testing Windows 2000"
+     exit 0
+  fi
+fi
+if [ "`echo ${osrev} | grep 'Windows'`" != "" ] ; then
+  if [ "`echo ${osrev} | grep '5 00'`" != "" ] ; then
+     echo "Treating as a pass, not testing Windows 2000"
+     exit 0
+  fi
+fi
+
 . ${TESTSRC}/CommonSetup.sh
 . ${TESTSRC}/ApplicationSetup.sh
 . ${TESTSRC}/AgentSetup.sh