# HG changeset patch # User hseigel # Date 1443726855 14400 # Node ID 3eebb5e50129acf3a9909184760d002395323d9d # Parent 6714a3872d8f9f95b6acf59a0f02b23e6cfc17f2 8138574: [TESTBUG] TestBasicLogOutput.java doesn't account for padding Summary: TestBasicLogOutput.java edited to account for padding in tag descriptors Reviewed-by: ddmitriev, hseigel, coleenp Contributed-by: rachel.protacio@oracle.com diff -r 6714a3872d8f -r 3eebb5e50129 hotspot/test/serviceability/logging/TestBasicLogOutput.java --- 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); }