jdk/test/sun/tools/jcmd/TestJcmdSanity.java
changeset 34327 50693d25f4a7
parent 30376 2ccf2cf7ea48
child 44423 306c020eb154
equal deleted inserted replaced
34326:2bb3b3aea3c5 34327:50693d25f4a7
    69         OutputAnalyzer output = JcmdBase.jcmd(VM_ARGS,
    69         OutputAnalyzer output = JcmdBase.jcmd(VM_ARGS,
    70                 new String[] {"help"});
    70                 new String[] {"help"});
    71 
    71 
    72         output.shouldHaveExitValue(0);
    72         output.shouldHaveExitValue(0);
    73         output.shouldNotContain("Exception");
    73         output.shouldNotContain("Exception");
    74         output.shouldContain(Integer.toString(ProcessTools.getProcessId()) + ":");
    74         output.shouldContain(Long.toString(ProcessTools.getProcessId()) + ":");
    75         matchJcmdCommands(output);
    75         matchJcmdCommands(output);
    76         output.shouldContain("For more information about a specific command use 'help <command>'.");
    76         output.shouldContain("For more information about a specific command use 'help <command>'.");
    77     }
    77     }
    78 
    78 
    79     /**
    79     /**