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