(parse_rank_function) Fix msg() bug found by -Wformat.
[pspp] / tests / bugs / compute-fmt.sh
index 90947510f4264f670e523fded17a33a52e8dc003..e9b8617c707a98b818dbe514fc093157d04448c7 100755 (executable)
@@ -5,17 +5,20 @@
 
 
 TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
 
 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
 }