8271173: serviceability/jvmti/GetObjectSizeClass.java doesn't check exit code

Reviewed-by: dholmes
This commit is contained in:
Igor Ignatyev 2021-07-23 15:53:48 +00:00
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");
}