8024634: gc/startup_warnings tests can fail due to unrelated warnings
Reviewed-by: brutisso, jwilhelm, tamao
--- a/hotspot/test/gc/startup_warnings/TestCMS.java Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestCMS.java Tue Oct 15 11:44:47 2013 +0200
@@ -38,7 +38,7 @@
public static void main(String args[]) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseConcMarkSweepGC", "-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
- output.shouldNotContain("warning");
+ output.shouldNotContain("deprecated");
output.shouldNotContain("error");
output.shouldHaveExitValue(0);
}
--- a/hotspot/test/gc/startup_warnings/TestCMSNoIncrementalMode.java Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestCMSNoIncrementalMode.java Tue Oct 15 11:44:47 2013 +0200
@@ -37,7 +37,7 @@
public static void main(String args[]) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseConcMarkSweepGC", "-XX:-CMSIncrementalMode", "-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
- output.shouldNotContain("warning");
+ output.shouldNotContain("deprecated");
output.shouldNotContain("error");
output.shouldHaveExitValue(0);
}
--- a/hotspot/test/gc/startup_warnings/TestG1.java Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestG1.java Tue Oct 15 11:44:47 2013 +0200
@@ -37,7 +37,7 @@
public static void main(String args[]) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC", "-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
- output.shouldNotContain("warning");
+ output.shouldNotContain("deprecated");
output.shouldNotContain("error");
output.shouldHaveExitValue(0);
}
--- a/hotspot/test/gc/startup_warnings/TestParNewCMS.java Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestParNewCMS.java Tue Oct 15 11:44:47 2013 +0200
@@ -38,7 +38,7 @@
public static void main(String args[]) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParNewGC", "-XX:+UseConcMarkSweepGC", "-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
- output.shouldNotContain("warning");
+ output.shouldNotContain("deprecated");
output.shouldNotContain("error");
output.shouldHaveExitValue(0);
}
--- a/hotspot/test/gc/startup_warnings/TestParallelGC.java Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestParallelGC.java Tue Oct 15 11:44:47 2013 +0200
@@ -38,7 +38,7 @@
public static void main(String args[]) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParallelGC", "-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
- output.shouldNotContain("warning");
+ output.shouldNotContain("deprecated");
output.shouldNotContain("error");
output.shouldHaveExitValue(0);
}
--- a/hotspot/test/gc/startup_warnings/TestParallelScavengeSerialOld.java Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestParallelScavengeSerialOld.java Tue Oct 15 11:44:47 2013 +0200
@@ -38,7 +38,7 @@
public static void main(String args[]) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseParallelGC", "-XX:-UseParallelOldGC", "-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
- output.shouldNotContain("warning");
+ output.shouldNotContain("deprecated");
output.shouldNotContain("error");
output.shouldHaveExitValue(0);
}
--- a/hotspot/test/gc/startup_warnings/TestSerialGC.java Tue Oct 15 11:42:50 2013 +0200
+++ b/hotspot/test/gc/startup_warnings/TestSerialGC.java Tue Oct 15 11:44:47 2013 +0200
@@ -38,7 +38,7 @@
public static void main(String args[]) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:+UseSerialGC", "-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
- output.shouldNotContain("warning");
+ output.shouldNotContain("deprecated");
output.shouldNotContain("error");
output.shouldHaveExitValue(0);
}