X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Fmultipass.sh;h=b88d62a19de332dae751db7282e1cd338be1b82c;hb=c0ce908d11fa172e1d461f83156c27345c259a75;hp=650c096c3974cfe4021853589578c82e1011f689;hpb=1339492699ce7e12c9bf9fa17f9d60a66024cbd1;p=pspp-builds.git diff --git a/tests/bugs/multipass.sh b/tests/bugs/multipass.sh index 650c096c..b88d62a1 100755 --- a/tests/bugs/multipass.sh +++ b/tests/bugs/multipass.sh @@ -11,11 +11,13 @@ 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() { + cd / rm -rf $TEMPDIR } @@ -72,7 +74,8 @@ $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE if [ $? -ne 0 ] ; then no_result ; fi -diff -b -B -w $TEMPDIR/pspp.list - << EOF +perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list +diff -b -w $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g' 1.1 DATA LIST. Reading free-form data from the command file. +--------+------+ |Variable|Format|