hotspot/test/gc/TestVerifyDuringStartup.java
changeset 35061 be6025ebffea
parent 30604 b8d532cb6420
child 36851 03e2f4d0a421
--- a/hotspot/test/gc/TestVerifyDuringStartup.java	Thu Dec 10 23:02:31 2015 +0000
+++ b/hotspot/test/gc/TestVerifyDuringStartup.java	Thu Dec 10 14:57:55 2015 +0100
@@ -48,6 +48,7 @@
     Collections.addAll(vmOpts, new String[] {"-XX:-UseTLAB",
                                              "-XX:+UnlockDiagnosticVMOptions",
                                              "-XX:+VerifyDuringStartup",
+                                             "-Xlog:gc+verify=debug",
                                              "-version"});
 
     System.out.print("Testing:\n" + JDKToolFinder.getJDKTool("java"));
@@ -62,7 +63,7 @@
 
     System.out.println("Output:\n" + output.getOutput());
 
-    output.shouldContain("[Verifying");
+    output.shouldContain("Verifying");
     output.shouldHaveExitValue(0);
   }
 }