-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
rc
-
x86
-
windows_98
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2069514 | 5.0 | Abhijit Saha | P3 | Closed | Fixed | tiger |
Name: iaR10016 Date: 05/15/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b23
Testbase : RegTest-cte
Platform[s] : Windows 98, Windows ME
(passes on Windows 2000, Windows NT, Windows XP)
switch/Mode : -client
Falling test[s]: CTE_REGTEST/Generic/4839641/CloneInMT.sh
RegTest-cte CTE_REGTEST/Generic/4839641/CloneInMT.sh test does not recognize Windows 98 and
Windows ME systems and fails due to this reason with JDK1.4.2-b23. This is a new test which
is absent in JDK1.4.2-b22 and JDK1.5.0-b06 REGRESSION testbases.
Here is a code fragment from the test source:
--------- CTE_REGTEST/Generic/4839641/CloneInMT.sh ---------
...
030> # set platform-dependent variables
031> OS=`uname -s`
032> case "$OS" in
033> SunOS )
034> NULL=/dev/null
035> PS=":"
036> FS="/"
037> ## for solaris, linux it's HOME
038> FILE_LOCATION=$HOME
039> if [ `uname -p` != 'sparc' ]
040> then
041> echo "Test passed; only valid for Solaris sparc"
042> exit 0;
043> fi
044> ;;
045> Linux | Windows_NT )
046> echo "Test passed; only valid for Solaris sparc"
047> exit 0;
048> ;;
049> * )
050> echo "Unrecognized system!"
051> exit 1;
052> ;;
053> esac
...
------------------------------------------------------------
Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4839641/CloneInMT.sh
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b23/regtest/win32/win98_-client_linux-17/workDir/cte/CTE_REGTEST/Generic/4839641/CloneInMT.jtr
How to reproduce:
=================
Run the following script (you may need to change it's variables)
--- script start ---
#!/bin/sh
export TESTJAVA="h:/java/jdk1.4.2/win32"
export TESTCLASSES=`pwd`
TEST_BASE_PATH="h:/java/regtest/cte"
cp -r $TEST_BASE_PATH/CTE_REGTEST/Generic/4839641/* $TESTCLASSES
sh CloneInMT.sh
echo $?
--- script end ---
Script output:
==============
Unrecognized system!
1
Test output (JTR part):
=======================
#section:shell
----------messages:(3/128)----------
command: shell CloneInMT.sh
reason: User specified action: run shell/timeout=600 CloneInMT.sh
elapsed time (seconds): 0.11
----------System.out:(1/22)----------
Unrecognized system!
----------System.err:(0/0)----------
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
Specific machine info:
======================
Hostname: linux-17
OS: Windows 98
======================================================================
- backported by
-
JDK-2069514 TEST_BUG: RegTest-cte CTE_REGTEST/Generic/4839641/CloneInMT.sh fails
-
- Closed
-