test/sun/management/jdp/JdpTest.sh

Print this page
rev 8717 : 8014506: Test of Jdp feature
Reviewed-by:
Contributed-by: Alex Schenkman <alex.schenkman@oracle.com>


  16 # You should have received a copy of the GNU General Public License version
  17 # 2 along with this work; if not, write to the Free Software Foundation,
  18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 #
  20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21 # or visit www.oracle.com if you need additional information or have any
  22 # questions.
  23 
  24 # @test
  25 # @bug 7169888
  26 # @compile -XDignore.symbol.file JdpUnitTest.java JdpClient.java JdpDoSomething.java
  27 # @run shell JdpTest.sh --jtreg --no-compile
  28 # @summary No word Failed expected in the test output
  29 
  30 _verbose=no
  31 _jtreg=no
  32 _compile=yes
  33 
  34 # temporary disable jcmd related tests
  35 # _testsuite="01,02,03,04,05"
  36 _testsuite="01,02,04"
  37 
  38 _pwd=`pwd`
  39 
  40 _testclasses=".classes"
  41 _testsrc="${_pwd}"
  42 _lockFileName="JdpDoSomething.lck"
  43 
  44 _logname=".classes/output.txt"
  45 _last_pid=""
  46 
  47 _ip="224.0.23.178"
  48 _port="7095"
  49 _jmxport="4545"
  50 
  51 _do_compile(){
  52     # If the test run without JTReg, we have to compile it by our self
  53     # Under JTReg see @compile statement above
  54     # sun.* packages is not included to symbol file lib/ct.sym so we have
  55     # to ignore it
  56 




  16 # You should have received a copy of the GNU General Public License version
  17 # 2 along with this work; if not, write to the Free Software Foundation,
  18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 #
  20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21 # or visit www.oracle.com if you need additional information or have any
  22 # questions.
  23 
  24 # @test
  25 # @bug 7169888
  26 # @compile -XDignore.symbol.file JdpUnitTest.java JdpClient.java JdpDoSomething.java
  27 # @run shell JdpTest.sh --jtreg --no-compile
  28 # @summary No word Failed expected in the test output
  29 
  30 _verbose=no
  31 _jtreg=no
  32 _compile=yes
  33 
  34 # temporary disable jcmd related tests
  35 # _testsuite="01,02,03,04,05"
  36 _testsuite="01"
  37 
  38 _pwd=`pwd`
  39 
  40 _testclasses=".classes"
  41 _testsrc="${_pwd}"
  42 _lockFileName="JdpDoSomething.lck"
  43 
  44 _logname=".classes/output.txt"
  45 _last_pid=""
  46 
  47 _ip="224.0.23.178"
  48 _port="7095"
  49 _jmxport="4545"
  50 
  51 _do_compile(){
  52     # If the test run without JTReg, we have to compile it by our self
  53     # Under JTReg see @compile statement above
  54     # sun.* packages is not included to symbol file lib/ct.sym so we have
  55     # to ignore it
  56