projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
614184c
)
Changed test file name from 'foo.sps' to $TESTFILE (which is based
author
John Darrington
<john@darrington.wattle.id.au>
Mon, 27 Aug 2007 07:19:18 +0000
(07:19 +0000)
committer
John Darrington
<john@darrington.wattle.id.au>
Mon, 27 Aug 2007 07:19:18 +0000
(07:19 +0000)
on the script name).
tests/bugs/big-input.sh
patch
|
blob
|
history
tests/bugs/case-map.sh
patch
|
blob
|
history
tests/bugs/comment-at-eof.sh
patch
|
blob
|
history
tests/bugs/compute-fmt.sh
patch
|
blob
|
history
tests/bugs/terminate.sh
patch
|
blob
|
history
diff --git
a/tests/bugs/big-input.sh
b/tests/bugs/big-input.sh
index 9e133556a3b7b0d490da3900557a2db3fa59c279..8cec3c619635e413bf1cc84b93de402a92113b08 100755
(executable)
--- a/
tests/bugs/big-input.sh
+++ b/
tests/bugs/big-input.sh
@@
-55,7
+55,7
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
activity="create program"
cd $TEMPDIR
activity="create program"
-cat > $TE
MPDIR/foo.sps
<<EOF
+cat > $TE
STFILE
<<EOF
INPUT PROGRAM.
LOOP #I=1 TO 50000.
COMPUTE X=NORMAL(10).
INPUT PROGRAM.
LOOP #I=1 TO 50000.
COMPUTE X=NORMAL(10).
@@
-71,7
+71,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 -e /dev/null $TE
MPDIR/foo.sps
+$SUPERVISOR $PSPP --testing-mode -e /dev/null $TE
STFILE
if [ $? -ne 0 ] ; then fail ; fi
pass;
if [ $? -ne 0 ] ; then fail ; fi
pass;
diff --git
a/tests/bugs/case-map.sh
b/tests/bugs/case-map.sh
index acc19dcfc3cc5bd9d1ade0e3ae7c7881135c9ed7..ab9971f0f3f9b81f39398cd38286f341089f5d90 100755
(executable)
--- a/
tests/bugs/case-map.sh
+++ b/
tests/bugs/case-map.sh
@@
-55,7
+55,7
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
activity="create program"
cd $TEMPDIR
activity="create program"
-cat > $TE
MPDIR/foo.sps
<<EOF
+cat > $TE
STFILE
<<EOF
INPUT PROGRAM.
COMPUTE #I = 1.
COMPUTE X = #I.
INPUT PROGRAM.
COMPUTE #I = 1.
COMPUTE X = #I.
@@
-68,7
+68,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 -e /dev/null $TE
MPDIR/foo.sps
+$SUPERVISOR $PSPP --testing-mode -e /dev/null $TE
STFILE
if [ $? -ne 0 ] ; then fail ; fi
pass;
if [ $? -ne 0 ] ; then fail ; fi
pass;
diff --git
a/tests/bugs/comment-at-eof.sh
b/tests/bugs/comment-at-eof.sh
index 638347482325983ec4e87310b73d36627e0f8853..6122e6605100f75099d0857a768089d6a8d5c2e8 100755
(executable)
--- a/
tests/bugs/comment-at-eof.sh
+++ b/
tests/bugs/comment-at-eof.sh
@@
-54,12
+54,12
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
activity="create program"
cd $TEMPDIR
activity="create program"
-cat > $TE
MPDIR/foo.sps
<<EOF
+cat > $TE
STFILE
<<EOF
COMMENT this is a comment at end of file.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
COMMENT this is a comment at end of file.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
-$SUPERVISOR $PSPP --testing-mode $TE
MPDIR/foo.sps
+$SUPERVISOR $PSPP --testing-mode $TE
STFILE
if [ $? -ne 0 ] ; then fail; fi
pass;
if [ $? -ne 0 ] ; then fail; fi
pass;
diff --git
a/tests/bugs/compute-fmt.sh
b/tests/bugs/compute-fmt.sh
index 2626b59521e8dff178ed0f664ea31c4315de3311..1d898dba19474bc599d143726adde2531f515dc2 100755
(executable)
--- a/
tests/bugs/compute-fmt.sh
+++ b/
tests/bugs/compute-fmt.sh
@@
-55,7
+55,7
@@
mkdir -p $TEMPDIR
cd $TEMPDIR
activity="create program"
cd $TEMPDIR
activity="create program"
-cat > $TE
MPDIR/foo.sps
<<EOF
+cat > $TE
STFILE
<<EOF
INPUT PROGRAM.
COMPUTE num = 3.
END FILE.
INPUT PROGRAM.
COMPUTE num = 3.
END FILE.
@@
-66,7
+66,7
@@
SAVE outfile='$TEMPDIR/temp.sav'.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
EOF
if [ $? -ne 0 ] ; then no_result ; fi
-$SUPERVISOR $PSPP --testing-mode $TE
MPDIR/foo.sps
+$SUPERVISOR $PSPP --testing-mode $TE
STFILE
if [ $? -ne 0 ] ; then fail; fi
if [ $? -ne 0 ] ; then fail; fi
diff --git
a/tests/bugs/terminate.sh
b/tests/bugs/terminate.sh
index ee3ffa878be161d3bc37a05275282d6b6f10c2a7..9f3a4955576a4d47dd9e305e691fef74edb3d535 100755
(executable)
--- a/
tests/bugs/terminate.sh
+++ b/
tests/bugs/terminate.sh
@@
-57,7
+57,7
@@
rm -f $TEMPDIR/bar.dat
if [ $? -ne 0 ] ; then no_result ; fi
activity="create program"
if [ $? -ne 0 ] ; then no_result ; fi
activity="create program"
-cat > $TE
MPDIR/foo.sps
<<EOF
+cat > $TE
STFILE
<<EOF
DATA LIST FILE='$TEMPDIR/bar.dat' /S 1-2 (A) X 3 .
EXECUTE.
DATA LIST FILE='$TEMPDIR/bar.dat' /S 1-2 (A) X 3 .
EXECUTE.
@@
-66,7
+66,7
@@
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
# This must exit with non zero status
activity="run program"
# This must exit with non zero status
-$SUPERVISOR $here/../src/pspp -o raw-ascii -e /dev/null $TE
MPDIR/foo.sps
2> $TEMPDIR/stderr
+$SUPERVISOR $here/../src/pspp -o raw-ascii -e /dev/null $TE
STFILE
2> $TEMPDIR/stderr
if [ $? -eq 0 ] ; then fail ; fi
activity="compare stderr"
if [ $? -eq 0 ] ; then fail ; fi
activity="compare stderr"