jstatGcNewCapacityOutput1.sh revision 5777
404N/A#
404N/A# Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved.
404N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
404N/A#
404N/A# This code is free software; you can redistribute it and/or modify it
404N/A# under the terms of the GNU General Public License version 2 only, as
404N/A# published by the Free Software Foundation.
404N/A#
404N/A# This code is distributed in the hope that it will be useful, but WITHOUT
404N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
404N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
404N/A# version 2 for more details (a copy is included in the LICENSE file that
404N/A# accompanied this code).
404N/A#
404N/A# You should have received a copy of the GNU General Public License version
404N/A# 2 along with this work; if not, write to the Free Software Foundation,
404N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
404N/A#
553N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
553N/A# or visit www.oracle.com if you need additional information or have any
553N/A# questions.
404N/A#
404N/A
404N/A# @test
404N/A# @bug 4990825
404N/A# @run shell jstatGcNewCapacityOutput1.sh
404N/A# @summary Test that output of 'jstat -gcnewcapacity 0' has expected line counts
404N/A
404N/A. ${TESTSRC-.}/../../jvmstat/testlibrary/utils.sh
404N/A
404N/Asetup
404N/Averify_os
404N/A
404N/AJSTAT="${TESTJAVA}/bin/jstat"
404N/A
404N/A${JSTAT} -J-XX:+UsePerfData -J-Duser.language=en -gcnewcapacity 0 2>&1 | awk -f ${TESTSRC}/gcNewCapacityOutput1.awk
404N/A