equal
deleted
inserted
replaced
1 # |
1 # |
2 # Copyright (c) 2004, 2012, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2004, 2018, 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. |
31 setup |
31 setup |
32 |
32 |
33 JSTAT="${TESTJAVA}/bin/jstat" |
33 JSTAT="${TESTJAVA}/bin/jstat" |
34 |
34 |
35 rm -f jstat.out1 jstat.out2 2>/dev/null |
35 rm -f jstat.out1 jstat.out2 2>/dev/null |
36 ${JSTAT} -J-XX:+UsePerfData -J-Duser.language=en -options > jstat.out1 2>&1 |
36 ${JSTAT} ${COMMON_JSTAT_FLAGS} -options > jstat.out1 2>&1 |
37 ${JSTAT} -J-XX:+UsePerfData -J-Duser.language=en -options -J-Djstat.showUnsupported=true > jstat.out2 2>&1 |
37 ${JSTAT} ${COMMON_JSTAT_FLAGS} -options -J-Djstat.showUnsupported=true > jstat.out2 2>&1 |
38 |
38 |
39 diff -w jstat.out1 ${TESTSRC}/options1.out |
39 diff -w jstat.out1 ${TESTSRC}/options1.out |
40 diff -w jstat.out2 ${TESTSRC}/options2.out |
40 diff -w jstat.out2 ${TESTSRC}/options2.out |