Change some aspects of the PRINT, PRINT EJECT, and WRITE
[pspp] / tests / command / do-repeat.sh
index 452814fa182a6f3a417cf599c3f562ce09912b42..0a702633c120c070897a37ab812347484ff160e1 100755 (executable)
@@ -60,15 +60,15 @@ 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.
 
 VECTOR v(6).
 COMPUTE #idx = 0.
-DO REPEAT a = 1 TO 2.
-       DO REPEAT b = 3 TO 5.
-               COMPUTE #x = a + b.
+DO REPEAT i = 1 TO 2.
+       DO REPEAT j = 3 TO 5.
+               COMPUTE #x = i + j.
                COMPUTE #idx = #idx + 1.
                COMPUTE v(#idx) = #x.
        END REPEAT.
@@ -80,7 +80,7 @@ EOF
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="run program"
-$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE >/dev/null 2>&1
+$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE 
 if [ $? -ne 0 ] ; then no_result ; fi
 
 activity="compare results"