From: Jason Stover <jhs@math.gcsu.edu>
Date: Fri, 7 Oct 2005 20:01:38 +0000 (+0000)
Subject: Made compatible with BSD diff
X-Git-Tag: v0.6.0~1211
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93ac3aa1e4774bce642848717bd245442a1429a0;p=pspp-builds.git

Made compatible with BSD diff
---

diff --git a/tests/command/autorecod.sh b/tests/command/autorecod.sh
index d29a9577..4b51f524 100755
--- a/tests/command/autorecod.sh
+++ b/tests/command/autorecod.sh
@@ -81,7 +81,7 @@ $SUPERVISOR $here/../src/pspp    -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="test output"
-diff -b -B $TEMPDIR/pspp.list - <<EOF
+diff -b $TEMPDIR/pspp.list - <<EOF | sed -e 's/^[\t ]*$//'
 1.1 DATA LIST.  Reading 1 record from the command file.
 +--------+------+-------+------+
 |Variable|Record|Columns|Format|