jps-Vvm.sh revision 0
1391N/A#
2362N/A# Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
1391N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1391N/A#
1391N/A# This code is free software; you can redistribute it and/or modify it
1391N/A# under the terms of the GNU General Public License version 2 only, as
2362N/A# published by the Free Software Foundation.
1391N/A#
2362N/A# This code is distributed in the hope that it will be useful, but WITHOUT
1391N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1391N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1391N/A# version 2 for more details (a copy is included in the LICENSE file that
1391N/A# accompanied this code).
1391N/A#
1391N/A# You should have received a copy of the GNU General Public License version
1391N/A# 2 along with this work; if not, write to the Free Software Foundation,
1391N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1391N/A#
1391N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
1391N/A# CA 95054 USA or visit www.sun.com if you need additional information or
2362N/A# have any questions.
2362N/A#
2362N/A
1391N/A# @test
1391N/A# @bug 4990825
1391N/A# @run shell jps-Vvm.sh
1391N/A# @summary Test that output of 'jps -Vvm' shows JVM flags, arguments and main args
1391N/A
1391N/A. ${TESTSRC-.}/../../jvmstat/testlibrary/utils.sh
1391N/A
1391N/Asetup
1391N/Averify_os
1391N/A
1391N/AJPS="${TESTJAVA}/bin/jps"
1391N/A
1391N/A${JPS} -J-XX:Flags=${TESTSRC}/vmflags -Vvm | awk -f ${TESTSRC}/jps-Vvm_Output1.awk
1391N/A