projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Made tests BSD diff compatible
[pspp-builds.git]
/
tests
/
command
/
split-file.sh
diff --git
a/tests/command/split-file.sh
b/tests/command/split-file.sh
index f9ae79abab3e93923a86e42701fa9c2229605118..7a992a16af6fbd421e430665c707f57e4ea7f71e 100755
(executable)
--- a/
tests/command/split-file.sh
+++ b/
tests/command/split-file.sh
@@
-78,7
+78,8
@@
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/split.stat
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare results"
-diff -B -b $TEMPDIR/pspp.list - <<EOF
+perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list
+diff -b $TEMPDIR/pspp.list - <<EOF | perl -e 's/^\s*$//g'
Variable Value Label
X 1