-
Bug
-
Resolution: Fixed
-
P3
-
1.4.1
-
rc
-
x86
-
linux
-
Verified
Name: icR10030 Date: 08/02/2002
Filed By : J2SE-SQA [###@###.###
JDK : jdk1.4.1-rc-b18
Testbase : Regression testsuite
Platform[s] : Linux Redhat 7.2
Failing Test :
CTE_REGTEST/Generic/4363638/Test4363638.sh
CTE_REGTEST/Generic/4418873/Test4418873.sh
CTE_REGTEST/Generic/4475963/Test4475963.sh
Here is the part of the CTE_REGTEST/Generic/4363638/Test4363638.sh
...
Linux )
NULL=/dev/null
PS=":"
FS="/"
cp ${TESTSRC}${FS}sig_test.c .
echo "INC=\"-I${TESTJAVA}${FS}include -I${TESTJAVA}${FS}include${FS}linux\"" >> t.ksh
echo "LIB=\"-L${TESTJAVA}${FS}jre${FS}lib${FS}i586${FS}client\"" >> t.ksh
echo "PATH=/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/usr/X11R6/bin:/home/test/bin:/usr/X11R6/bin:/home/test/bin" >> t.ksh
echo "gcc \${INC} \${LIB} -o sig_test sig_test.c -ljvm" >> t.ksh
ksh t.ksh
LD_LIBRARY_PATH=${TESTJAVA}${FS}jre${FS}lib${FS}i586${FS}client:${TESTJAVA}${FS}jre${FS}lib${FS}i586${FS}native_threads:${TESTJAVA}${FS}jre${FS}lib${FS}i586
export LD_LIBRARY_PATH
;;
...
The tests supposes that java's libs can be found in
LD_LIBRARY_PATH=${TESTJAVA}${FS}jre${FS}lib${FS}i586${FS}client:${TESTJAVA}${FS}jre${FS}lib${FS}i586${FS}native_threads:${TESTJAVA}${FS}jre${FS}lib${FS}i586
But this is wrong - "i586" must be replaced by "i386".
jtr file location:
==================
/net/jtgb4u4c.eng/export/sail15/results/hopper/b18/regtest/linux/redhat7.2_gnome_linux-12/workDir/cte/CTE_REGTEST/Generic/4363638/Test4363638.jtr
How to reproduce:
=================
Run the tests on Linux.
Test output:
============
/usr/bin/ld: cannot find -ljvm
collect2: ld returned 1 exit status
/net/linux-15/export/home/java/regtest/cte/CTE_REGTEST/Generic/4363638/Test4363638.sh: ./sig_test: No such file or directory
result: Failed. Execution failed: exit code 127
test result: Failed. Execution failed: exit code 127
Specific Machine Info:
======================
Hostname: linux-12
OS: Redhat Linux 7.2
======================================================================