jdk/test/sun/tools/jrunscript/jrunscript-DTest.sh
changeset 41486 95980c6371d6
parent 16040 105e9859a548
equal deleted inserted replaced
41485:15a87b8ccd06 41486:95980c6371d6
    31 # @summary Test that output of 'jrunscript -D' 
    31 # @summary Test that output of 'jrunscript -D' 
    32 
    32 
    33 . ${TESTSRC-.}/common.sh
    33 . ${TESTSRC-.}/common.sh
    34 
    34 
    35 setup
    35 setup
    36 ${JAVA} -cp ${TESTCLASSES} CheckEngine
    36 ${JAVA} ${TESTVMOPTS} ${TESTJAVAOPTS} -cp ${TESTCLASSES} CheckEngine
    37 if [ $? -eq 2 ]; then
    37 if [ $? -eq 2 ]; then
    38     echo "No js engine found and engine not required; test vacuously passes."
    38     echo "No js engine found and engine not required; test vacuously passes."
    39     exit 0
    39     exit 0
    40 fi
    40 fi
    41 
    41