18 #
19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 # CA 95054 USA or visit www.sun.com if you need additional information or
21 # have any questions.
22 #
23
24 # @test
25 # @bug 4990825
26 # @run shell jstatOptions1.sh
27 # @summary Test that output of 'jstat -options matches the usage.out file
28
29 . ${TESTSRC-.}/../../jvmstat/testlibrary/utils.sh
30
31 setup
32
33 JSTAT="${TESTJAVA}/bin/jstat"
34
35 rm -f jstat.out 2>/dev/null
36 ${JSTAT} -options > jstat.out 2>&1
37
38 diff jstat.out ${TESTSRC}/options1.out
|
18 #
19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
20 # CA 95054 USA or visit www.sun.com if you need additional information or
21 # have any questions.
22 #
23
24 # @test
25 # @bug 4990825
26 # @run shell jstatOptions1.sh
27 # @summary Test that output of 'jstat -options matches the usage.out file
28
29 . ${TESTSRC-.}/../../jvmstat/testlibrary/utils.sh
30
31 setup
32
33 JSTAT="${TESTJAVA}/bin/jstat"
34
35 rm -f jstat.out 2>/dev/null
36 ${JSTAT} -options > jstat.out 2>&1
37
38 diff -w jstat.out ${TESTSRC}/options1.out
|