changeset 6307:86c10d1484e9

8005325: The script should use TESTVMOPTS Summary: Put back TESTVMOPTS which was removed by mistake. Reviewed-by: smarks
author sjiang
date Fri, 21 Dec 2012 10:58:20 +0100
parents 42ee6b6ad373
children c1227b872a12
files test/sun/management/jmxremote/startstop/JMXStartStopTest.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/management/jmxremote/startstop/JMXStartStopTest.sh	Fri Dec 21 09:27:37 2012 +0100
+++ b/test/sun/management/jmxremote/startstop/JMXStartStopTest.sh	Fri Dec 21 10:58:20 2012 +0100
@@ -61,7 +61,7 @@
 }
 
 _app_start(){
-  ${TESTJAVA}/bin/java -server $* -cp ${_testclasses} JMXStartStopDoSomething  >> ${_logname} 2>&1 &
+  ${TESTJAVA}/bin/java ${TESTVMOPTS} $* -cp ${_testclasses} JMXStartStopDoSomething  >> ${_logname} 2>&1 &
 
   x=0
   while [ ! -f ${_lockFileName} ]
@@ -110,7 +110,7 @@
 }
 
 _testme(){
-  ${TESTJAVA}/bin/java -cp ${_testclasses} JMXStartStopTest $*
+  ${TESTJAVA}/bin/java ${TESTVMOPTS} -cp ${_testclasses} JMXStartStopTest $*
 }