-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b140
-
x86
-
windows
-
Verified
The fix for the following bug:
6962617 3/3 Testcase changes, cleanup of problem list for jdk_tools targets
modified the following SDK/JDK test:
com/sun/tools/attach/BasicTests.sh
to include an override that would allow the test to pass on Win2K.
Unfortunately, the override is a little too broad and I noticed that
it was kicking in on my WinXP environment running Cygwin.
Here are the lines of interest:
40 # Windows 2000 is a problem here, so we skip it, see 6962615
41 osrev=`uname -a`
42 if [ "`echo ${osrev} | grep 'CYGWIN'`" != "" ] ; then
43 if [ "`echo ${osrev} | grep '5.0'`" != "" ] ; then
44 echo "Treating as a pass, not testing Windows 2000"
45 exit 0
46 fi
47 fi
On WinXP VMware client, my "uname -a" output looks like:
$ uname -a
CYGWIN_NT-5.1 oliver-lt 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
The "grep '5.0' on line 43 matches the "5(0" part of my environment's
uname -a output.
6962617 3/3 Testcase changes, cleanup of problem list for jdk_tools targets
modified the following SDK/JDK test:
com/sun/tools/attach/BasicTests.sh
to include an override that would allow the test to pass on Win2K.
Unfortunately, the override is a little too broad and I noticed that
it was kicking in on my WinXP environment running Cygwin.
Here are the lines of interest:
40 # Windows 2000 is a problem here, so we skip it, see 6962615
41 osrev=`uname -a`
42 if [ "`echo ${osrev} | grep 'CYGWIN'`" != "" ] ; then
43 if [ "`echo ${osrev} | grep '5.0'`" != "" ] ; then
44 echo "Treating as a pass, not testing Windows 2000"
45 exit 0
46 fi
47 fi
On WinXP VMware client, my "uname -a" output looks like:
$ uname -a
CYGWIN_NT-5.1 oliver-lt 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
The "grep '5.0' on line 43 matches the "5(0" part of my environment's
uname -a output.
- relates to
-
JDK-6962617 Testcase changes, cleanup of problem list for jdk_tools targets
- Resolved
-
JDK-6461635 [TEST_BUG] BasicTests.sh test fails intermittently.
- Resolved
-
JDK-6962615 Testcase failure com/sun/tools/attach/BasicTests.sh
- Closed