# HG changeset patch # User hseigel # Date 1387811622 18000 # Node ID 530963406a44c0a164c111ddb8331eb7e3b97442 # Parent 15caf5793272f24884f87adc9c0ee37f5bf42017 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 diff -r 15caf5793272 -r 530963406a44 hotspot/test/runtime/NMT/CommandLineDetail.java --- a/hotspot/test/runtime/NMT/CommandLineDetail.java Wed Dec 18 23:09:57 2013 +0400 +++ b/hotspot/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); } } diff -r 15caf5793272 -r 530963406a44 hotspot/test/runtime/NMT/CommandLineSummary.java --- a/hotspot/test/runtime/NMT/CommandLineSummary.java Wed Dec 18 23:09:57 2013 +0400 +++ b/hotspot/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); } } diff -r 15caf5793272 -r 530963406a44 hotspot/test/runtime/NMT/CommandLineTurnOffNMT.java --- a/hotspot/test/runtime/NMT/CommandLineTurnOffNMT.java Wed Dec 18 23:09:57 2013 +0400 +++ b/hotspot/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); } } diff -r 15caf5793272 -r 530963406a44 hotspot/test/runtime/NMT/PrintNMTStatistics.java --- a/hotspot/test/runtime/NMT/PrintNMTStatistics.java Wed Dec 18 23:09:57 2013 +0400 +++ b/hotspot/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); } }