OpenJDK / jdk / hs
changeset 48049:0a52219cfb16
8192840: serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java failing on Windows
Summary: make error message searching logic more general so it works on Windows
Reviewed-by: dcubed, sspitsyn, dholmes
author | cjplummer |
---|---|
date | Thu, 30 Nov 2017 16:28:47 -0800 |
parents | cb63f08dad03 |
children | babef393c286 |
files | test/hotspot/jtreg/serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/test/hotspot/jtreg/serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java Thu Nov 30 18:38:20 2017 -0500 +++ b/test/hotspot/jtreg/serviceability/dcmd/jvmti/AttachFailed/AttachNoEntry.java Thu Nov 30 16:28:47 2017 -0800 @@ -37,7 +37,8 @@ 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); }