Add scratch file handles.
[pspp-builds.git] / tests / bugs / t-test-with-temp.sh
index 65b669e11720e3d4662745b9334431d74ba8a68d..1bebba99fbf21a812b64867eca837edaeb48a153 100755 (executable)
@@ -95,7 +95,8 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare output"
-diff -B -b $TEMPDIR/pspp.list $TEMPDIR/first.list
+perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list $TEMPDIR/first.list
+diff -b $TEMPDIR/pspp.list $TEMPDIR/first.list
 if [ $? -ne 0 ] ; then fail ; fi