< prev index next >

test/sun/tools/jrunscript/jrunscript-cpTest.sh

Print this page

        

*** 31,48 **** # @summary Test -cp option to set classpath . ${TESTSRC-.}/common.sh setup ! ${JAVA} -cp ${TESTCLASSES} CheckEngine if [ $? -eq 2 ]; then echo "No js engine found and engine not required; test vacuously passes." exit 0 fi rm -f Hello.class ! ${JAVAC} ${TESTSRC}/Hello.java -d . # we check whether classpath setting for app classes # work with jrunscript. Script should be able to # access Java class "Hello". --- 31,48 ---- # @summary Test -cp option to set classpath . ${TESTSRC-.}/common.sh setup ! ${JAVA} ${TESTVMOPTS} ${TESTJAVAOPTS} -cp ${TESTCLASSES} CheckEngine if [ $? -eq 2 ]; then echo "No js engine found and engine not required; test vacuously passes." exit 0 fi rm -f Hello.class ! ${JAVAC} ${TESTTOOLVMOPTS} ${TESTJAVACOPTS} ${TESTSRC}/Hello.java -d . # we check whether classpath setting for app classes # work with jrunscript. Script should be able to # access Java class "Hello".
< prev index next >