Instead of hard-coding the table of powers of 30 into the source file,
[pspp-builds.git] / tests / command / sysfile-info.sh
index a5990e913fdede651b15e94c91300f0eb814fd31..ffa00c35528fb823ca01ddf9ef18f2343234724b 100755 (executable)
@@ -10,7 +10,8 @@ here=`pwd`;
 # ensure that top_srcdir is absolute
 cd $top_srcdir; top_srcdir=`pwd`
 
-export STAT_CONFIG_PATH=$top_srcdir/config
+STAT_CONFIG_PATH=$top_srcdir/config
+export STAT_CONFIG_PATH
 
 
 cleanup()
@@ -74,7 +75,7 @@ egrep -v '^(Created|Endian): ' $TEMPDIR/pspp.list > $TEMPDIR/out-filtered
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare output"
-diff $TEMPDIR/out-filtered - << EOF
+diff -b -B -w $TEMPDIR/out-filtered - << EOF
 1.1 DATA LIST.  Reading free-form data from the command file.
 +--------+------+
 |Variable|Format|