hotspot/test/serviceability/logging/TestBasicLogOutput.java
changeset 33109 3eebb5e50129
parent 33097 96e348cb0442
child 38152 80e5da81fb2c
--- a/hotspot/test/serviceability/logging/TestBasicLogOutput.java	Wed Sep 30 18:09:40 2015 -0400
+++ b/hotspot/test/serviceability/logging/TestBasicLogOutput.java	Thu Oct 01 15:14:15 2015 -0400
@@ -35,7 +35,7 @@
     public static void main(String[] args) throws Exception {
         ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xlog:all=trace", "-version");
         OutputAnalyzer output = new OutputAnalyzer(pb.start());
-        output.shouldContain("[logging]"); // expected tag(s)
+        output.shouldMatch("\\[logging *\\]"); // expected tag(s)
         output.shouldContain("Log configuration fully initialized."); // expected message
         output.shouldHaveExitValue(0);
     }