[sword-svn] r2364 - trunk/tests/testsuite

scribe at crosswire.org scribe at crosswire.org
Wed Apr 29 01:10:03 MST 2009


Author: scribe
Date: 2009-04-29 01:10:02 -0700 (Wed, 29 Apr 2009)
New Revision: 2364

Modified:
   trunk/tests/testsuite/runtest.sh
Log:
Added flags to ignore whitespace when testing for good output.  This helps with variable NL designations on different OSs.


Modified: trunk/tests/testsuite/runtest.sh
===================================================================
--- trunk/tests/testsuite/runtest.sh	2009-04-29 07:26:25 UTC (rev 2363)
+++ trunk/tests/testsuite/runtest.sh	2009-04-29 08:10:02 UTC (rev 2364)
@@ -26,7 +26,7 @@
 fi
 
 ./$1.sh > $1.try
-BAD=`diff -u $1.try $1.good`
+BAD=`diff -uBb $1.try $1.good`
 if [ "$BAD" = "" ]; then
 	if [ "$2" = "-q" ]; then
 		exit 0




More information about the sword-cvs mailing list