Greatly simplify PSPP configuration.
[pspp-builds.git] / tests / bugs / print-crash.sh
index d362ede1dd63ed20795d2691e218db21e5ee4101..0b66ddb19e0738eb8cc5cec7de07254a21f83376 100755 (executable)
@@ -14,7 +14,8 @@ top_builddir=`cd $top_builddir; pwd`
 
 PSPP=$top_builddir/src/ui/terminal/pspp
 
-export STAT_CONFIG_PATH=$top_srcdir/config
+STAT_CONFIG_PATH=$top_srcdir/config
+export STAT_CONFIG_PATH
 
 
 cleanup()
@@ -23,6 +24,7 @@ cleanup()
        echo "NOT cleaning $TEMPDIR"
        return ; 
      fi
+     cd /
      rm -rf $TEMPDIR
 }
 
@@ -68,7 +70,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 
 
 activity="run program"
-$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE > /dev/null
+$SUPERVISOR $PSPP -o pspp.csv -e /dev/null $TESTFILE 
 if [ $? -ne 1 ] ; then fail ; fi