test/sun/tools/jps/jps-help.sh
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
jdk-tl Cdiff test/sun/tools/jps/jps-help.sh
test/sun/tools/jps/jps-help.sh
Print this page
*** 1,7 ****
#
! # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
--- 1,7 ----
#
! # Copyright (c) 2004, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
*** 31,41 ****
setup
JPS="${TESTJAVA}/bin/jps"
rm -f jps.out 2>/dev/null
! ${JPS} -? > jps.out 2>&1
diff -w jps.out ${TESTSRC}/usage.out
if [ $? != 0 ]
then
echo "Output of jps -? differ from expected output. Failed."
--- 31,41 ----
setup
JPS="${TESTJAVA}/bin/jps"
rm -f jps.out 2>/dev/null
! ${JPS} -J-XX:+UsePerfData -? > jps.out 2>&1
diff -w jps.out ${TESTSRC}/usage.out
if [ $? != 0 ]
then
echo "Output of jps -? differ from expected output. Failed."
*** 42,52 ****
rm -f jps.out 2>/dev/null
exit 1
fi
rm -f jps.out 2>/dev/null
! ${JPS} -help > jps.out 2>&1
diff -w jps.out ${TESTSRC}/usage.out
if [ $? != 0 ]
then
echo "Output of jps -help differ from expected output. Failed."
--- 42,52 ----
rm -f jps.out 2>/dev/null
exit 1
fi
rm -f jps.out 2>/dev/null
! ${JPS} -J-XX:+UsePerfData -help > jps.out 2>&1
diff -w jps.out ${TESTSRC}/usage.out
if [ $? != 0 ]
then
echo "Output of jps -help differ from expected output. Failed."
test/sun/tools/jps/jps-help.sh
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File