test/sun/tools/jconsole/ResourceCheckTest.sh
Print this page
*** 96,110 ****
env
#
set -vx
#
#Compile. jconsole.jar is required on the classpath.
! ${TESTJAVA}/bin/javac -d "${TESTCLASSES}" ${CP} -g \
"${TESTSRC}"/"${TARGETCLASS}".java
#
#Run the test class, again with the classpath we need:
! ${TESTJAVA}/bin/java ${CP} ${TARGETCLASS}
status=$?
echo "test status was: $status"
if [ $status -eq "0" ];
then pass ""
--- 96,110 ----
env
#
set -vx
#
#Compile. jconsole.jar is required on the classpath.
! ${TESTJAVA}/bin/javac ${TESTTOOLVMOPTS} ${TESTJAVACOPTS} -d "${TESTCLASSES}" ${CP} -g \
"${TESTSRC}"/"${TARGETCLASS}".java
#
#Run the test class, again with the classpath we need:
! ${TESTJAVA}/bin/java ${TESTVMOPTS} ${TESTJAVAOPTS} ${CP} ${TARGETCLASS}
status=$?
echo "test status was: $status"
if [ $status -eq "0" ];
then pass ""