From 362ef6aa0dde26bc7ae7b2c042b47f96b8b1bca1 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Mon, 15 Dec 2003 23:56:49 +0000 Subject: [PATCH] Fixed some changes, which didn't work with certain versions of diff --- tests/command/aggregate.sh | 4 +++- tests/command/autorecod.sh | 2 +- tests/command/beg-data.sh | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/command/aggregate.sh b/tests/command/aggregate.sh index b84e63eb..597217f8 100755 --- a/tests/command/aggregate.sh +++ b/tests/command/aggregate.sh @@ -9,6 +9,7 @@ here=`pwd`; # ensure that top_srcdir is absolute cd $top_srcdir; top_srcdir=`pwd` + export STAT_CONFIG_PATH=$top_srcdir/config cleanup() @@ -71,9 +72,10 @@ activity="run program" $here/../src/pspp -o raw-ascii $TEMPDIR/test.sps if [ $? -ne 0 ] ; then no_result ; fi +cat pspp.list > /tmp/foo activity="test result" -diff -B $TEMPDIR/pspp.list - << EOF +diff -b -w -B $TEMPDIR/pspp.list - << EOF X Z FOO - -------- -------- 1 15.00 6.00 diff --git a/tests/command/autorecod.sh b/tests/command/autorecod.sh index 08428c1e..2ef03f9f 100755 --- a/tests/command/autorecod.sh +++ b/tests/command/autorecod.sh @@ -77,7 +77,7 @@ $here/../src/pspp -o raw-ascii $TEMPDIR/prog.sps if [ $? -ne 0 ] ; then no_result ; fi activity="test output" -diff -B $TEMPDIR/pspp.list - <