-
Bug
-
Resolution: Fixed
-
P4
-
1.4.2
-
b13
-
x86, sparc
-
linux, solaris_8, windows_2000
-
Verified
Name: iaR10016 Date: 12/19/2002
Filed By : J2SE-SQA [###@###.###
Testbase : RegTest-test
Platform[s] : Solaris sparc, Solaris intel, RedHat linux 7.3, Windows 2000
Falling tests : sun/security/tools/jarsigner/i18n.sh
sun/security/tools/keytool/MisleadingError.sh
sun/security/tools/keytool/i18n.sh
Three RegTest-test tests fail or pass incorrectly because they do not use
the $TESTJAVA variable when calling the tested product.
For example, here is the code fragment from test/sun/security/tools/jarsigner/i18n.sh
script:
--------- i18.sh ---------
...
017> if [ "${TESTJAVA}" = "" ] ; then
018> echo "TESTJAVA not set. Test cannot execute."
019> echo "FAILED!!!"
020> exit 1
021> fi
...
044> # the test code
045>
046> jarsigner -help
047>
048> exit $?
...
--------------------------
The test will be executed correctly only if the $PATH variable contains the path to the tested JDK.
Line 46 should be changed to:
...
046> ${TESTJAVA}\bin\jarsigner -help
...
These tests were either filtered out or passed with errors due to the @ignore tag.
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/sun/security/tools/jarsigner/i18n.sh
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/sun/security/tools/keytool/MisleadingError.sh
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/sun/security/tools/keytool/i18n.sh
Specific machine info:
======================
Hostname: linux-19
OS: RedHat linux 7.3
Hostname: linux-22
OS: Windows 2000
======================================================================
- relates to
-
JDK-4794855 TEST_BUG: 11 RegTest-test tests do not recognize Windows ME
- Closed