< prev index next >

jdk/test/sun/management/jmxremote/bootstrap/RmiBootstrapTest.sh

Print this page




  34 # @build jdk.testlibrary.* TestLogger Utils RmiBootstrapTest
  35 # @run shell/timeout=300  RmiBootstrapTest.sh
  36 
  37 # Define the Java class test name
  38 TESTCLASS="RmiBootstrapTest"
  39 export TESTCLASS
  40 
  41 # Source in utility shell script to generate and remove .properties and .acl files
  42 . ${TESTSRC}/GeneratePropertyPassword.sh
  43 
  44 generatePropertyPasswordFiles `ls ${TESTSRC}/*_test*.in`
  45 
  46 rm -rf ${TESTCLASSES}/ssl
  47 mkdir -p ${TESTCLASSES}/ssl
  48 cp -rf ${TESTSRC}/ssl/*store ${TESTCLASSES}/ssl 
  49 chmod -R 777 ${TESTCLASSES}/ssl
  50 
  51 DEBUGOPTIONS=""
  52 export DEBUGOPTIONS
  53 
  54 EXTRAOPTIONS="-XaddExports:java.management/sun.management=ALL-UNNAMED \
  55  -XaddExports:java.management/sun.management.jmxremote=ALL-UNNAMED"
  56 export EXTRAOPTIONS
  57 
  58 # Call the common generic test
  59 #
  60 # No need to since bug 4267864 is now fixed. 
  61 #
  62 echo -------------------------------------------------------------
  63 echo Launching test for `basename $0 .sh`
  64 echo -------------------------------------------------------------
  65 sh ${TESTSRC}/../RunTest.sh ${DEBUGOPTIONS} ${EXTRAOPTIONS} ${TESTCLASS}
  66 result=$?
  67 restoreFilePermissions `ls ${TESTSRC}/*_test*.in`
  68 exit $result


  34 # @build jdk.testlibrary.* TestLogger Utils RmiBootstrapTest
  35 # @run shell/timeout=300  RmiBootstrapTest.sh
  36 
  37 # Define the Java class test name
  38 TESTCLASS="RmiBootstrapTest"
  39 export TESTCLASS
  40 
  41 # Source in utility shell script to generate and remove .properties and .acl files
  42 . ${TESTSRC}/GeneratePropertyPassword.sh
  43 
  44 generatePropertyPasswordFiles `ls ${TESTSRC}/*_test*.in`
  45 
  46 rm -rf ${TESTCLASSES}/ssl
  47 mkdir -p ${TESTCLASSES}/ssl
  48 cp -rf ${TESTSRC}/ssl/*store ${TESTCLASSES}/ssl 
  49 chmod -R 777 ${TESTCLASSES}/ssl
  50 
  51 DEBUGOPTIONS=""
  52 export DEBUGOPTIONS
  53 
  54 EXTRAOPTIONS="--add-exports java.management/sun.management=ALL-UNNAMED \
  55  --add-exports java.management/sun.management.jmxremote=ALL-UNNAMED"
  56 export EXTRAOPTIONS
  57 
  58 # Call the common generic test
  59 #
  60 # No need to since bug 4267864 is now fixed. 
  61 #
  62 echo -------------------------------------------------------------
  63 echo Launching test for `basename $0 .sh`
  64 echo -------------------------------------------------------------
  65 sh ${TESTSRC}/../RunTest.sh ${DEBUGOPTIONS} ${EXTRAOPTIONS} ${TESTCLASS}
  66 result=$?
  67 restoreFilePermissions `ls ${TESTSRC}/*_test*.in`
  68 exit $result
< prev index next >