Revise.
[pspp] / tests / bugs / double-frequency.sh
index 7509efa0f309fb49ea4d9d63202608e136a12ad5..c97521ba2c671e031bfd403cc6a0907ec357ea72 100755 (executable)
@@ -4,6 +4,7 @@
 # Commands existed in a input file
 
 TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
 
 here=`pwd`;
 
@@ -11,11 +12,13 @@ here=`pwd`;
 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
 }
 
@@ -66,7 +69,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 cd $TEMPDIR
 
 activity="run data"
-$here/../src/pspp  $TEMPDIR/ff.stat
+$SUPERVISOR $here/../src/pspp  $TEMPDIR/ff.stat
 if [ $? -ne 0 ] ; then fail ; fi