Renamed time-series directory ts
[pspp-builds.git] / tests / command / do-repeat.sh
index 4ec9ff7799195434f3a424a3c0da66dbee0be302..990704fe7c22d96f105a61dca201ee572075ba06 100755 (executable)
@@ -9,6 +9,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`
@@ -59,7 +60,7 @@ BEGIN DATA.
 0
 END DATA.
 
-DO REPEAT h = h0 TO h3 / x = 0 1 2 3 / y = 8 TO 5.
+DO REPEAT h = h0 TO h3 / x = 0 TO 3 / y = 8, 7, 6, 5.
        COMPUTE h = x + y.
 END REPEAT.
 
@@ -79,7 +80,7 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="run program"
-$SUPERVISOR $top_builddir/src/pspp --testing-mode -o raw-ascii $TESTFILE >/dev/null 2>&1
+$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE >/dev/null 2>&1
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare results"