* npar-binomial.sh: Be less picky about whitespace in PSPP output.
[pspp-builds.git] / tests / command / very-long-strings.sh
index 2cc9e0ef9927a42a985d7fc033f1af82250e74a0..6d413aa4e35bc9f1e4d0e9de292d09f2f59fc321 100755 (executable)
@@ -76,7 +76,7 @@ if [ $? -ne 0 ] ; then fail ; fi
 
 activity="compare variable display 0"
 perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
-diff $TEMPDIR/pspp.list - <<EOF
+diff -b $TEMPDIR/pspp.list - <<EOF
 1.1 DISPLAY.  
 +--------+-------------------------------------------+--------+
 |Variable|Description                                |Position|
@@ -167,13 +167,13 @@ if [ $? -ne 0 ] ; then no_result ; fi
 # Check that the file read back in has the same data as what we wrote.
 
 activity="compare print"
-diff $TEMPDIR/out.txt $TEMPDIR/data
+diff -b $TEMPDIR/out.txt $TEMPDIR/data
 if [ $? -ne 0 ] ; then fail ; fi
 
 
 activity="compare variable display"
 perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
-diff $TEMPDIR/pspp.list - <<EOF
+diff -b $TEMPDIR/pspp.list - <<EOF
 1.1 DISPLAY.  
 +--------+-------------------------------------------+--------+
 |Variable|Description                                |Position|