projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made BSD diff compatible
[pspp]
/
tests
/
command
/
file-label.sh
diff --git
a/tests/command/file-label.sh
b/tests/command/file-label.sh
index 99a3f6fd2dd56866e2454f5492732035f135095c..839990944250d67f133beb652dce4e3f9e2b92d7 100755
(executable)
--- a/
tests/command/file-label.sh
+++ b/
tests/command/file-label.sh
@@
-16,6
+16,7
@@
export STAT_CONFIG_PATH
cleanup()
{
cleanup()
{
+ cd /
rm -rf $TEMPDIR
}
rm -rf $TEMPDIR
}
@@
-115,7
+116,8
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare results"
activity="compare results"
-diff -b -B $TEMPDIR/pspp.filtered - <<EOF
+perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list
+diff -b $TEMPDIR/pspp.filtered - <<EOF | 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|