changeset 14182:21db9a1d43ef

8021774: [TESTBUG] Tests failed because of a warning in its output Summary: Remove check for warning Reviewed-by: zgu, mseledtsov Contributed-by: george.triantafillou@oracle.com
author hseigel
date Mon, 23 Dec 2013 10:13:42 -0500
parents 27c84ba76954
children 5b0fbe224dff
files test/runtime/NMT/CommandLineDetail.java test/runtime/NMT/CommandLineSummary.java test/runtime/NMT/CommandLineTurnOffNMT.java test/runtime/NMT/PrintNMTStatistics.java
diffstat 4 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/NMT/CommandLineDetail.java	Wed Dec 18 23:09:57 2013 +0400
+++ b/test/runtime/NMT/CommandLineDetail.java	Mon Dec 23 10:13:42 2013 -0500
@@ -24,7 +24,7 @@
  /*
  * @test
  * @key nmt
- * @summary Running with NMT detail should not result in an error or warning
+ * @summary Running with NMT detail should not result in an error
  * @library /testlibrary
  */
 
@@ -39,7 +39,6 @@
       "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
     output.shouldNotContain("error");
-    output.shouldNotContain("warning");
     output.shouldHaveExitValue(0);
   }
 }
--- a/test/runtime/NMT/CommandLineSummary.java	Wed Dec 18 23:09:57 2013 +0400
+++ b/test/runtime/NMT/CommandLineSummary.java	Mon Dec 23 10:13:42 2013 -0500
@@ -24,7 +24,7 @@
  /*
  * @test
  * @key nmt
- * @summary Running with NMT summary should not result in an error or warning
+ * @summary Running with NMT summary should not result in an error
  * @library /testlibrary
  */
 
@@ -39,7 +39,6 @@
       "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
     output.shouldNotContain("error");
-    output.shouldNotContain("warning");
     output.shouldHaveExitValue(0);
   }
 }
--- a/test/runtime/NMT/CommandLineTurnOffNMT.java	Wed Dec 18 23:09:57 2013 +0400
+++ b/test/runtime/NMT/CommandLineTurnOffNMT.java	Mon Dec 23 10:13:42 2013 -0500
@@ -24,7 +24,7 @@
  /*
  * @test
  * @key nmt
- * @summary Turning off NMT should not result in an error or warning
+ * @summary Turning off NMT should not result in an error
  * @library /testlibrary
  */
 
@@ -38,7 +38,6 @@
               "-version");
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
     output.shouldNotContain("error");
-    output.shouldNotContain("warning");
     output.shouldHaveExitValue(0);
   }
 }
--- a/test/runtime/NMT/PrintNMTStatistics.java	Wed Dec 18 23:09:57 2013 +0400
+++ b/test/runtime/NMT/PrintNMTStatistics.java	Mon Dec 23 10:13:42 2013 -0500
@@ -64,7 +64,6 @@
     OutputAnalyzer output = new OutputAnalyzer(pb.start());
     output.shouldContain("Java Heap (reserved=");
     output.shouldNotContain("error");
-    output.shouldNotContain("warning");
     output.shouldHaveExitValue(0);
   }
 }