projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Eliminated global variable getl_buf
[pspp]
/
tests
/
command
/
do-repeat.sh
diff --git
a/tests/command/do-repeat.sh
b/tests/command/do-repeat.sh
index 990704fe7c22d96f105a61dca201ee572075ba06..0a702633c120c070897a37ab812347484ff160e1 100755
(executable)
--- a/
tests/command/do-repeat.sh
+++ b/
tests/command/do-repeat.sh
@@
-66,9
+66,9
@@
END REPEAT.
VECTOR v(6).
COMPUTE #idx = 0.
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.
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"
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"
if [ $? -ne 0 ] ; then no_result ; fi
activity="compare results"