Fix TEMPORARY bug and add regression test.
[pspp-builds.git] / tests / command / aggregate.sh
index b84e63eb30b04b61bff1e8ad6a9799188229d9d4..916587dc0c575c5fca125d7706be6f00569db5b9 100755 (executable)
@@ -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()
@@ -68,12 +69,11 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="run program"
-$here/../src/pspp    -o raw-ascii $TEMPDIR/test.sps  
+$SUPERVISOR $here/../src/pspp    -o raw-ascii $TEMPDIR/test.sps  
 if [ $? -ne 0 ] ; then no_result ; fi
 
-
 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