* bugs/overwrite-input-file.sh: Don't use non-portable "diff -B".
[pspp] / tests / bugs / overwrite-special-file.sh
index bdc2dc1e168798ce7865871eea4187755dad277d..c23a8d4a858cdbbcd9f6cb17338226fc87ecfe7f 100755 (executable)
@@ -84,7 +84,8 @@ $SUPERVISOR $PSPP --testing-mode $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="check that foo2.out was created"
-diff -b -B foo2.out - << EOF
+perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
+diff -b foo2.out - << EOF
  1
  2
  3