Dropped references to unused vector param_estimates
[pspp-builds.git] / tests / expressions / randist.sh
index 9c1ed925c688e013c1ccd2e22aa1a385f8eb7c88..bb02172f48ba65f2882f1515e00dd2cdcf0a1ff2 100755 (executable)
@@ -19,6 +19,7 @@ cleanup()
         echo NOT removing directory $TEMPDIR
        return ; 
      fi
+     cd /
      rm -rf $TEMPDIR
 }
 
@@ -63,7 +64,8 @@ if [ $? -ne 0 ] ; then fail ; fi
 for d in beta cauchy chisq exp f gamma laplace logistic lnormal \
         normal pareto t uniform weibull; do
     activity="compare output for $d distribution"
-    diff -B -b $top_srcdir/tests/expressions/randist/$d.out $TEMPDIR/$d.out
+    perl -pi -e 's/^\s*$//g' $top_srcdir/tests/expressions/randist/$d.out $TEMPDIR/$d.out
+    diff -b $top_srcdir/tests/expressions/randist/$d.out $TEMPDIR/$d.out
     if [ $? -ne 0 ] ; then fail ; fi
 done