test/sun/tools/jps/jps-help.sh

Print this page

        

*** 33,43 **** JPS="${TESTJAVA}/bin/jps" rm -f jps.out 2>/dev/null ${JPS} -? > jps.out 2>&1 ! diff jps.out ${TESTSRC}/usage.out if [ $? != 0 ] then echo "Output of jps -? differ from expected output. Failed." rm -f jps.out 2>/dev/null exit 1 --- 33,43 ---- 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." rm -f jps.out 2>/dev/null exit 1
*** 44,54 **** fi rm -f jps.out 2>/dev/null ${JPS} -help > jps.out 2>&1 ! diff jps.out ${TESTSRC}/usage.out if [ $? != 0 ] then echo "Output of jps -help differ from expected output. Failed." rm -f jps.out 2>/dev/null exit 1 --- 44,54 ---- 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." rm -f jps.out 2>/dev/null exit 1