jdk/test/sun/tools/jps/jps-help.sh
changeset 4663 dfea6ffdb0dc
parent 2 90ce3da70b43
child 5506 202f599c92aa
--- a/jdk/test/sun/tools/jps/jps-help.sh	Mon Jan 04 15:52:38 2010 -0800
+++ b/jdk/test/sun/tools/jps/jps-help.sh	Mon Jan 04 15:56:42 2010 -0800
@@ -35,7 +35,7 @@
 rm -f jps.out 2>/dev/null
 ${JPS} -? > jps.out 2>&1
 
-diff jps.out ${TESTSRC}/usage.out
+diff -w jps.out ${TESTSRC}/usage.out
 if [ $? != 0 ]
 then
   echo "Output of jps -? differ from expected output. Failed."
@@ -46,7 +46,7 @@
 rm -f jps.out 2>/dev/null
 ${JPS} -help > jps.out 2>&1
 
-diff jps.out ${TESTSRC}/usage.out
+diff -w jps.out ${TESTSRC}/usage.out
 if [ $? != 0 ]
 then
   echo "Output of jps -help differ from expected output. Failed."