diff test/java/rmi/registry/readTest/readTest.sh @ 6252:ae5d04dbacd6

8003890: corelibs test scripts should pass TESTVMOPTS Reviewed-by: chegar, alanb Contributed-by: Mark Sheppard <mark.sheppard@oracle.com>
author chegar
date Thu, 13 Dec 2012 14:47:35 +0000
parents bd84d0927a2e
children 7da291690aa0
line wrap: on
line diff
--- a/test/java/rmi/registry/readTest/readTest.sh	Thu Dec 13 09:37:29 2012 -0500
+++ b/test/java/rmi/registry/readTest/readTest.sh	Thu Dec 13 14:47:35 2012 +0000
@@ -25,7 +25,7 @@
 # @bug 7102369 7094468 7100592
 # @library ../../testlibrary
 # @build TestLibrary
-# @summary remove java.rmi.server.codebase property parsing from RegistryImpl
+# @summary remove java.rmi.server.codebase property parsing from registyimpl
 # @run shell readTest.sh
 
 OS=`uname -s`
@@ -76,7 +76,7 @@
     ;;  
 esac
 # trailing / after code base is important for rmi codebase property.
-${TESTJAVA}${FS}bin${FS}java -cp $TEST_CLASSPATH -Djava.rmi.server.codebase=${FILEURL}$CODEBASE/ readTest > OUT.TXT 2>&1 &
+${TESTJAVA}${FS}bin${FS}java ${TESTVMOPTS} -cp $TEST_CLASSPATH -Djava.rmi.server.codebase=${FILEURL}$CODEBASE/ readTest > OUT.TXT 2>&1 &
 TEST_PID=$!
 #bulk of testcase - let it run for a while
 sleep 5