Update string comparision in perl module test
[pspp] / tests / command / print.sh
index 450e2100748702e19c5270ef72cdf6deb15784a7..9df49c13aabd59478cd75b058e666f5e5c6e72c8 100755 (executable)
@@ -109,7 +109,7 @@ $SUPERVISOR $PSPP -o pspp.csv --error-file=$TEMPDIR/errs $TEMPDIR/print.stat
 if [ $? -ne 0 ] ; then fail ; fi
 
 activity="compare print.out"
-diff $TEMPDIR/print.out - <<EOF
+diff -b $TEMPDIR/print.out - <<EOF
  1 2 
 112
  1 -2 
@@ -134,7 +134,7 @@ EOF
 if [ $? -ne 0 ] ; then fail ; fi
 
 activity="compare write.out"
-diff $TEMPDIR/write.out - <<EOF
+diff -b $TEMPDIR/write.out - <<EOF
 12
 12
 1-2
@@ -159,7 +159,7 @@ EOF
 if [ $? -ne 0 ] ; then fail ; fi
 
 activity="compare output"
-diff $TEMPDIR/pspp.csv - << EOF
+diff -b $TEMPDIR/pspp.csv - << EOF
 1 2