8192840: serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java failing on Windows
Make error message searching logic more general so it works on Windows Reviewed-by: dcubed, sspitsyn, dholmes
This commit is contained in:
parent
b468df82f9
commit
e473a43bb8
@ -37,7 +37,8 @@ public class AttachNoEntry extends AttachFailedTestBase {
|
||||
OutputAnalyzer output = null;
|
||||
|
||||
output = executor.execute("JVMTI.agent_load " + libpath);
|
||||
output.shouldContain("Agent_OnAttach is not available");
|
||||
output.shouldContain("Agent_OnAttach");
|
||||
output.shouldContain("is not available");
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user