test/sun/jvmstat/monitor/MonitoredVm/MonitorVmStartTerminate.sh

Print this page




  23 
  24 #
  25 # @test
  26 # @bug 4990825
  27 # @summary attach to external but local JVM processes
  28 # @library ../../testlibrary
  29 # @build Sleeper
  30 # @build JavaProcess
  31 # @build MonitorVmStartTerminate
  32 # @run shell MonitorVmStartTerminate.sh
  33 #
  34 
  35 . ${TESTSRC-.}/../../testlibrary/utils.sh
  36 
  37 setup
  38 verify_os
  39 
  40 JAVA="${TESTJAVA}/bin/java"
  41 CP=${TESTJAVA}${FS}lib${FS}tools.jar${PS}${TESTCLASSES}${PS}${TESTCLASSES}${FS}..${FS}..${FS}testlibrary
  42 
  43 ${JAVA} ${TESTVMOPTS} -classpath ${CP} MonitorVmStartTerminate


  23 
  24 #
  25 # @test
  26 # @bug 4990825
  27 # @summary attach to external but local JVM processes
  28 # @library ../../testlibrary
  29 # @build Sleeper
  30 # @build JavaProcess
  31 # @build MonitorVmStartTerminate
  32 # @run shell MonitorVmStartTerminate.sh
  33 #
  34 
  35 . ${TESTSRC-.}/../../testlibrary/utils.sh
  36 
  37 setup
  38 verify_os
  39 
  40 JAVA="${TESTJAVA}/bin/java"
  41 CP=${TESTJAVA}${FS}lib${FS}tools.jar${PS}${TESTCLASSES}${PS}${TESTCLASSES}${FS}..${FS}..${FS}testlibrary
  42 
  43 ${JAVA} ${TESTVMOPTS} ${TESTJAVAOPTS} -classpath ${CP} MonitorVmStartTerminate