test/jdk/tools/jlink/plugins/VendorInfoPluginsTest.java
changeset 58915 02ae223a11dc
parent 58842 6c255334120d
equal deleted inserted replaced
58914:6f98d0173a72 58915:02ae223a11dc
    85         var oa = ProcessTools.executeProcess(launcher,
    85         var oa = ProcessTools.executeProcess(launcher,
    86                                              "-XshowSettings:properties",
    86                                              "-XshowSettings:properties",
    87                                              "--version");
    87                                              "--version");
    88         oa.stderrShouldMatch("^ +java.vendor.url.bug = " + BUG_URL + "$");
    88         oa.stderrShouldMatch("^ +java.vendor.url.bug = " + BUG_URL + "$");
    89         oa.stderrShouldMatch("^ +java.vendor.version = " + VERSION + "$");
    89         oa.stderrShouldMatch("^ +java.vendor.version = " + VERSION + "$");
    90         oa.stdoutShouldMatch("^.*Runtime Environment " + VERSION + " \\(build.*$");
    90         oa.stdoutShouldMatch("^.*Runtime Environment " + VERSION + " \\(.*build.*$");
    91         oa.stdoutShouldMatch("^.*Server VM " + VERSION + " \\(build.*$");
    91         oa.stdoutShouldMatch("^.*VM " + VERSION + " \\(.*build.*$");
    92 
    92 
    93         // VM error log
    93         // VM error log
    94         oa = ProcessTools.executeProcess(launcher,
    94         oa = ProcessTools.executeProcess(launcher,
    95                                          "--class-path",
    95                                          "--class-path",
    96                                          System.getProperty("test.classes"),
    96                                          System.getProperty("test.classes"),
    97                                          "VendorInfoPluginsTest$Crasher");
    97                                          "VendorInfoPluginsTest$Crasher");
    98         oa.stdoutShouldMatch("^# +" + VM_BUG_URL + "$");
    98         oa.stdoutShouldMatch("^# +" + VM_BUG_URL + "$");
    99         oa.stdoutShouldMatch("^.*Runtime Environment " + VERSION + " \\(.*$");
    99         oa.stdoutShouldMatch("^.*Runtime Environment " + VERSION + " \\(.*$");
   100         oa.stdoutShouldMatch("^.*Server VM " + VERSION + " \\(.*$");
   100         oa.stdoutShouldMatch("^.*VM " + VERSION + " \\(.*$");
   101 
   101 
   102     }
   102     }
   103 
   103 
   104 }
   104 }