Added "cd /" to the test scripts which don't already have it. This avoids warnings...
[pspp-builds.git] / tests / bugs / print-crash.sh
index ba1630f5b69c0d1cee7264dcb2d748b3876107b9..22b215660708b355e9780b563080a0caec5fab0c 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 -e /dev/null $TESTFILE 
+$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE 
 if [ $? -ne 1 ] ; then fail ; fi