8021774: [TESTBUG] Tests failed because of a warning in its output

Remove check for warning

Reviewed-by: zgu, mseledtsov
This commit is contained in:
George Triantafillou 2013-12-23 10:13:42 -05:00 committed by Harold Seigel
parent ed5c744803
commit dbde42105e
4 changed files with 3 additions and 7 deletions

View file

@ -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 @@ public class CommandLineDetail {
"-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldNotContain("error");
output.shouldNotContain("warning");
output.shouldHaveExitValue(0);
}
}

View file

@ -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 @@ public class CommandLineSummary {
"-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldNotContain("error");
output.shouldNotContain("warning");
output.shouldHaveExitValue(0);
}
}

View file

@ -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 @@ public class CommandLineTurnOffNMT {
"-version");
OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldNotContain("error");
output.shouldNotContain("warning");
output.shouldHaveExitValue(0);
}
}

View file

@ -64,7 +64,6 @@ public class PrintNMTStatistics {
OutputAnalyzer output = new OutputAnalyzer(pb.start());
output.shouldContain("Java Heap (reserved=");
output.shouldNotContain("error");
output.shouldNotContain("warning");
output.shouldHaveExitValue(0);
}
}