projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made BSD diff compatible
[pspp-builds.git]
/
tests
/
command
/
beg-data.sh
diff --git
a/tests/command/beg-data.sh
b/tests/command/beg-data.sh
index 846d936ca73b6b08eca136561ea6eee31041400b..4c6ee92d3edf4c53e754d58ca4bbf0c79f1505f3 100755
(executable)
--- a/
tests/command/beg-data.sh
+++ b/
tests/command/beg-data.sh
@@
-80,7
+80,8
@@
$SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare data"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare data"
-diff -b -B $TEMPDIR/pspp.list - << foobar
+perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
+diff -b $TEMPDIR/pspp.list - << foobar |perl -e 's/^\s*$//g'
1.1 DATA LIST. Reading 1 record from the command file.
+--------+------+-------+------+
|Variable|Record|Columns|Format|
1.1 DATA LIST. Reading 1 record from the command file.
+--------+------+-------+------+
|Variable|Record|Columns|Format|