8271173: serviceability/jvmti/GetObjectSizeClass.java doesn't check exit code
Reviewed-by: dholmes
This commit is contained in:
parent
b4c6229fd4
commit
e90ed6cc38
@ -54,6 +54,7 @@ public class GetObjectSizeClass {
|
||||
|
||||
ProcessBuilder pt = ProcessTools.createTestJvm("-javaagent:agent.jar", "GetObjectSizeClassAgent");
|
||||
OutputAnalyzer output = new OutputAnalyzer(pt.start());
|
||||
output.shouldHaveExitValue(0);
|
||||
|
||||
output.stdoutShouldContain("GetObjectSizeClass passed");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user