test/java/security/Security/signedfirst/Dyn.sh
Print this page
*** 41,50 ****
--- 41,54 ----
echo "TESTJAVA not set. Test cannot execute."
echo "FAILED!!!"
exit 1
fi
+ if [ "${COMPILEJAVA}" = "" ]; then
+ COMPILEJAVA="${TESTJAVA}"
+ fi
+
# set platform-dependent variables
OS=`uname -s`
case "$OS" in
SunOS )
PATHSEP=":"
*** 75,85 ****
# remove old class files
cd ${TESTCLASSES}${FILESEP}
rm DynSignedProvFirst.class
# compile the test program
! ${TESTJAVA}${FILESEP}bin${FILESEP}javac \
-classpath ${TESTSRC}${FILESEP}exp.jar \
-d ${TESTCLASSES}${FILESEP} \
${TESTSRC}${FILESEP}DynSignedProvFirst.java
# run the test
--- 79,89 ----
# remove old class files
cd ${TESTCLASSES}${FILESEP}
rm DynSignedProvFirst.class
# compile the test program
! ${COMPILEJAVA}${FILESEP}bin${FILESEP}javac ${TESTJAVACOPTS} ${TESTTOOLVMOPTS} \
-classpath ${TESTSRC}${FILESEP}exp.jar \
-d ${TESTCLASSES}${FILESEP} \
${TESTSRC}${FILESEP}DynSignedProvFirst.java
# run the test