8233291: [TESTBUG] tools/jlink/plugins/VendorInfoPluginsTest.java fails with debug or non-server VMs
authorjiefu
Mon, 04 Nov 2019 10:03:32 -0800
changeset 58915 02ae223a11dc
parent 58914 6f98d0173a72
child 58917 33f9271b3167
8233291: [TESTBUG] tools/jlink/plugins/VendorInfoPluginsTest.java fails with debug or non-server VMs Reviewed-by: mchung
test/jdk/tools/jlink/plugins/VendorInfoPluginsTest.java
--- a/test/jdk/tools/jlink/plugins/VendorInfoPluginsTest.java	Mon Nov 04 14:24:36 2019 +0000
+++ b/test/jdk/tools/jlink/plugins/VendorInfoPluginsTest.java	Mon Nov 04 10:03:32 2019 -0800
@@ -87,8 +87,8 @@
                                              "--version");
         oa.stderrShouldMatch("^ +java.vendor.url.bug = " + BUG_URL + "$");
         oa.stderrShouldMatch("^ +java.vendor.version = " + VERSION + "$");
-        oa.stdoutShouldMatch("^.*Runtime Environment " + VERSION + " \\(build.*$");
-        oa.stdoutShouldMatch("^.*Server VM " + VERSION + " \\(build.*$");
+        oa.stdoutShouldMatch("^.*Runtime Environment " + VERSION + " \\(.*build.*$");
+        oa.stdoutShouldMatch("^.*VM " + VERSION + " \\(.*build.*$");
 
         // VM error log
         oa = ProcessTools.executeProcess(launcher,
@@ -97,7 +97,7 @@
                                          "VendorInfoPluginsTest$Crasher");
         oa.stdoutShouldMatch("^# +" + VM_BUG_URL + "$");
         oa.stdoutShouldMatch("^.*Runtime Environment " + VERSION + " \\(.*$");
-        oa.stdoutShouldMatch("^.*Server VM " + VERSION + " \\(.*$");
+        oa.stdoutShouldMatch("^.*VM " + VERSION + " \\(.*$");
 
     }