Use strict and all warnings.
[pspp-builds.git] / tests / bugs / double-frequency.sh
index 9c0e7ba5c3df7110021263e9fc345662431d9836..b6e6a50f9ac347759c4dfaf06c38df0c994a4736 100755 (executable)
@@ -10,6 +10,7 @@ TESTFILE=$TEMPDIR/`basename $0`.sps
 if [ -z "$top_builddir" ] ; then top_builddir=. ; fi
 if [ -z "$top_srcdir" ] ; then top_srcdir=. ; fi
 top_builddir=`cd $top_builddir; pwd`
+PSPP=$top_builddir/src/ui/terminal/pspp
 
 # ensure that top_srcdir is absolute
 top_srcdir=`cd $top_srcdir; pwd`
@@ -72,7 +73,7 @@ if [ $? -ne 0 ] ; then no_result ; fi
 cd $TEMPDIR
 
 activity="run data"
-$SUPERVISOR $top_builddir/src/pspp  $TEMPDIR/ff.stat
+$SUPERVISOR $PSPP  $TEMPDIR/ff.stat
 if [ $? -ne 0 ] ; then fail ; fi