comparison test/runtime/NMT/PrintNMTStatistics.java @ 17653:e56d11f8cc21 hs25.20-b03

8021774: [TESTBUG] Tests failed because of a warning in its output Summary: Remove check for warning Reviewed-by: ctornqvi, hseigel, coleenp
author gtriantafill
date Thu, 06 Feb 2014 13:27:50 -0500
parents c342fbdf8a70
children 52b4284cb496 ac12996df59b
comparison
equal deleted inserted replaced
17652:0eb64cfc0b76 17653:e56d11f8cc21
1 /* 1 /*
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2013, 2014 Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
62 "test"); 62 "test");
63 63
64 OutputAnalyzer output = new OutputAnalyzer(pb.start()); 64 OutputAnalyzer output = new OutputAnalyzer(pb.start());
65 output.shouldContain("Java Heap (reserved="); 65 output.shouldContain("Java Heap (reserved=");
66 output.shouldNotContain("error"); 66 output.shouldNotContain("error");
67 output.shouldNotContain("warning");
68 output.shouldHaveExitValue(0); 67 output.shouldHaveExitValue(0);
69 } 68 }
70 } 69 }