X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fdo-repeat.sh;h=62000de630f3b02b3e1bd7ef3803e4289039b056;hb=0498114186f126d786cc0f3cf6686a43b8513e62;hp=990704fe7c22d96f105a61dca201ee572075ba06;hpb=128d8f858ef4b76999f748df6aa9a64e7008adf7;p=pspp-builds.git diff --git a/tests/command/do-repeat.sh b/tests/command/do-repeat.sh index 990704fe..62000de6 100755 --- a/tests/command/do-repeat.sh +++ b/tests/command/do-repeat.sh @@ -60,15 +60,15 @@ BEGIN DATA. 0 END DATA. -DO REPEAT h = h0 TO h3 / x = 0 TO 3 / y = 8, 7, 6, 5. +DO REPEAT h = h0 TO h3 / x = 0 TO 3 / y = 8, 7.5, 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" @@ -88,7 +88,7 @@ perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list diff -b $TEMPDIR/pspp.list - <