Move global initialization and cleanup code into main.c.
[pspp] / tests / bugs / t-test.sh
index 2b747c623dfa19cb2a5ed459963b3e5a9950d417..86cb7f10b6f00ae0c2d00fe2fa3831772457f3ea 100755 (executable)
@@ -12,11 +12,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
 }