This commit changes "diff" invocations to ignore changes in white space to
avoid spurious test failures due to differences in line endings.
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output 1"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output 1"
-diff - $TEMPDIR/pspp.list <<EOF
+diff -b - $TEMPDIR/pspp.list <<EOF
1.1 NPAR TESTS. Frequencies
#=================================#=#
# |N#
1.1 NPAR TESTS. Frequencies
#=================================#=#
# |N#
activity="compare output 1"
activity="compare output 1"
-diff pspp.list $TEMPDIR/results.txt
+diff -b pspp.list $TEMPDIR/results.txt
if [ $? -ne 0 ] ; then fail ; fi
if [ $? -ne 0 ] ; then fail ; fi
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output 2"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output 2"
-diff pspp.list $TEMPDIR/results.txt
+diff -b pspp.list $TEMPDIR/results.txt
if [ $? -ne 0 ] ; then fail ; fi
if [ $? -ne 0 ] ; then fail ; fi
if [ $? -ne 0 ] ; then fail ; fi
activity="compare print.out"
if [ $? -ne 0 ] ; then fail ; fi
activity="compare print.out"
-diff $TEMPDIR/print.out - <<EOF
+diff -b $TEMPDIR/print.out - <<EOF
if [ $? -ne 0 ] ; then fail ; fi
activity="compare write.out"
if [ $? -ne 0 ] ; then fail ; fi
activity="compare write.out"
-diff $TEMPDIR/write.out - <<EOF
+diff -b $TEMPDIR/write.out - <<EOF
if [ $? -ne 0 ] ; then fail ; fi
activity="compare output"
if [ $? -ne 0 ] ; then fail ; fi
activity="compare output"
-diff $TEMPDIR/pspp.list - << EOF
+diff -b $TEMPDIR/pspp.list - << EOF
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare output"
+diff -b pspp.list - << EOF
Scale: Everything
1.1 RELIABILITY. Case Processing Summary
Scale: Everything
1.1 RELIABILITY. Case Processing Summary