--- old/test/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.sh 2014-01-26 11:37:42.408797029 +0800 +++ new/test/sun/management/jmxremote/bootstrap/SSLConfigFilePermissionTest.sh 2014-01-26 11:37:42.256797031 +0800 @@ -101,18 +101,18 @@ go() { echo '' - sh -xc "$JAVA ${TESTVMOPTS} $1 $2 $3 $4 $5 $6 $7 $8" 2>&1 + sh -xc "$JAVA ${TESTVMOPTS} ${TESTJAVAOPTS} $1 $2 $3 $4 $5 $6 $7 $8" 2>&1 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi } # Test 1 - SSL config file is secure - VM should start chmod 700 ${SSL} -sh -xc "$JAVA ${TESTVMOPTS} $mp $pp Dummy" 2>&1 +sh -xc "$JAVA ${TESTVMOPTS} ${TESTJAVAOPTS} $mp $pp Dummy" 2>&1 if [ $? != 0 ]; then failures=`expr $failures + 1`; fi # Test 2 - SSL config file is not secure - VM should fail to start chmod o+rx ${SSL} -sh -xc "$JAVA ${TESTVMOPTS} $mp $pp Dummy" 2>&1 +sh -xc "$JAVA ${TESTVMOPTS} ${TESTJAVAOPTS} $mp $pp Dummy" 2>&1 if [ $? = 0 ]; then failures=`expr $failures + 1`; fi # Reset the file permissions on the generated SSL config file