< prev index next >

test/sun/tools/jcmd/TestJcmdSanity.java

Print this page

        

*** 69,79 **** OutputAnalyzer output = JcmdBase.jcmd(VM_ARGS, new String[] {"help"}); output.shouldHaveExitValue(0); output.shouldNotContain("Exception"); ! output.shouldContain(Integer.toString(ProcessTools.getProcessId()) + ":"); matchJcmdCommands(output); output.shouldContain("For more information about a specific command use 'help <command>'."); } /** --- 69,79 ---- OutputAnalyzer output = JcmdBase.jcmd(VM_ARGS, new String[] {"help"}); output.shouldHaveExitValue(0); output.shouldNotContain("Exception"); ! output.shouldContain(Long.toString(ProcessTools.getProcessId()) + ":"); matchJcmdCommands(output); output.shouldContain("For more information about a specific command use 'help <command>'."); } /**
< prev index next >