projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix PR 11492.
[pspp]
/
tests
/
bugs
/
big-input.sh
diff --git
a/tests/bugs/big-input.sh
b/tests/bugs/big-input.sh
index 84f7abef476fe33f81107d69aa6d458544dc52e1..740147ea75ba194d270fc8c17b8b31aff9140ebe 100755
(executable)
--- a/
tests/bugs/big-input.sh
+++ b/
tests/bugs/big-input.sh
@@
-5,6
+5,7
@@
TEMPDIR=/tmp/pspp-tst-$$
TEMPDIR=/tmp/pspp-tst-$$
+TESTFILE=$TEMPDIR/`basename $0`.sps
here=`pwd`;
here=`pwd`;
@@
-50,20
+51,21
@@
cd $TEMPDIR
activity="create program"
cat > $TEMPDIR/foo.sps <<EOF
INPUT PROGRAM.
activity="create program"
cat > $TEMPDIR/foo.sps <<EOF
INPUT PROGRAM.
-LOOP #I=1 TO 50000.
-COMPUTE X=NORMAL(10).
-END CASE.
-END LOOP.
-END FILE.
+
LOOP #I=1 TO 50000.
+
COMPUTE X=NORMAL(10).
+
END CASE.
+
END LOOP.
+
END FILE.
END INPUT PROGRAM.
EXAMINE /x
END INPUT PROGRAM.
EXAMINE /x
-/STATISTICS=DESCRIPTIVES.
+
/STATISTICS=DESCRIPTIVES.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
EOF
if [ $? -ne 0 ] ; then no_result ; fi
+activity="run program"
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/foo.sps > /dev/null
$SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/foo.sps > /dev/null
-if [ $? -ne
1
] ; then fail ; fi
+if [ $? -ne
0
] ; then fail ; fi
pass;
pass;