[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/tests/bugs big-input.sh case-map.sh commen...
From: |
John Darrington |
Subject: |
[Pspp-cvs] pspp/tests/bugs big-input.sh case-map.sh commen... |
Date: |
Mon, 27 Aug 2007 07:19:20 +0000 |
CVSROOT: /sources/pspp
Module name: pspp
Changes by: John Darrington <jmd> 07/08/27 07:19:20
Modified files:
tests/bugs : big-input.sh case-map.sh comment-at-eof.sh
compute-fmt.sh terminate.sh
Log message:
Changed test file name from 'foo.sps' to $TESTFILE (which is based
on the script name).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/tests/bugs/big-input.sh?cvsroot=pspp&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/pspp/tests/bugs/case-map.sh?cvsroot=pspp&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/pspp/tests/bugs/comment-at-eof.sh?cvsroot=pspp&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/pspp/tests/bugs/compute-fmt.sh?cvsroot=pspp&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/pspp/tests/bugs/terminate.sh?cvsroot=pspp&r1=1.5&r2=1.6
Patches:
Index: big-input.sh
===================================================================
RCS file: /sources/pspp/pspp/tests/bugs/big-input.sh,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- big-input.sh 26 Aug 2007 18:35:45 -0000 1.9
+++ big-input.sh 27 Aug 2007 07:19:18 -0000 1.10
@@ -55,7 +55,7 @@
cd $TEMPDIR
activity="create program"
-cat > $TEMPDIR/foo.sps <<EOF
+cat > $TESTFILE <<EOF
INPUT PROGRAM.
LOOP #I=1 TO 50000.
COMPUTE X=NORMAL(10).
@@ -71,7 +71,7 @@
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
-$SUPERVISOR $PSPP --testing-mode -e /dev/null $TEMPDIR/foo.sps
+$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE
if [ $? -ne 0 ] ; then fail ; fi
pass;
Index: case-map.sh
===================================================================
RCS file: /sources/pspp/pspp/tests/bugs/case-map.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- case-map.sh 26 Aug 2007 18:35:45 -0000 1.2
+++ case-map.sh 27 Aug 2007 07:19:18 -0000 1.3
@@ -55,7 +55,7 @@
cd $TEMPDIR
activity="create program"
-cat > $TEMPDIR/foo.sps <<EOF
+cat > $TESTFILE <<EOF
INPUT PROGRAM.
COMPUTE #I = 1.
COMPUTE X = #I.
@@ -68,7 +68,7 @@
if [ $? -ne 0 ] ; then no_result ; fi
activity="run program"
-$SUPERVISOR $PSPP --testing-mode -e /dev/null $TEMPDIR/foo.sps
+$SUPERVISOR $PSPP --testing-mode -e /dev/null $TESTFILE
if [ $? -ne 0 ] ; then fail ; fi
pass;
Index: comment-at-eof.sh
===================================================================
RCS file: /sources/pspp/pspp/tests/bugs/comment-at-eof.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- comment-at-eof.sh 26 Aug 2007 18:35:45 -0000 1.7
+++ comment-at-eof.sh 27 Aug 2007 07:19:18 -0000 1.8
@@ -54,12 +54,12 @@
cd $TEMPDIR
activity="create program"
-cat > $TEMPDIR/foo.sps <<EOF
+cat > $TESTFILE <<EOF
COMMENT this is a comment at end of file.
EOF
if [ $? -ne 0 ] ; then no_result ; fi
-$SUPERVISOR $PSPP --testing-mode $TEMPDIR/foo.sps
+$SUPERVISOR $PSPP --testing-mode $TESTFILE
if [ $? -ne 0 ] ; then fail; fi
pass;
Index: compute-fmt.sh
===================================================================
RCS file: /sources/pspp/pspp/tests/bugs/compute-fmt.sh,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- compute-fmt.sh 26 Aug 2007 18:35:45 -0000 1.7
+++ compute-fmt.sh 27 Aug 2007 07:19:19 -0000 1.8
@@ -55,7 +55,7 @@
cd $TEMPDIR
activity="create program"
-cat > $TEMPDIR/foo.sps <<EOF
+cat > $TESTFILE <<EOF
INPUT PROGRAM.
COMPUTE num = 3.
END FILE.
@@ -66,7 +66,7 @@
EOF
if [ $? -ne 0 ] ; then no_result ; fi
-$SUPERVISOR $PSPP --testing-mode $TEMPDIR/foo.sps
+$SUPERVISOR $PSPP --testing-mode $TESTFILE
if [ $? -ne 0 ] ; then fail; fi
Index: terminate.sh
===================================================================
RCS file: /sources/pspp/pspp/tests/bugs/terminate.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -b -r1.5 -r1.6
--- terminate.sh 7 Nov 2006 13:00:00 -0000 1.5
+++ terminate.sh 27 Aug 2007 07:19:19 -0000 1.6
@@ -57,7 +57,7 @@
if [ $? -ne 0 ] ; then no_result ; fi
activity="create program"
-cat > $TEMPDIR/foo.sps <<EOF
+cat > $TESTFILE <<EOF
DATA LIST FILE='$TEMPDIR/bar.dat' /S 1-2 (A) X 3 .
EXECUTE.
@@ -66,7 +66,7 @@
activity="run program"
# This must exit with non zero status
-$SUPERVISOR $here/../src/pspp -o raw-ascii -e /dev/null $TEMPDIR/foo.sps 2>
$TEMPDIR/stderr
+$SUPERVISOR $here/../src/pspp -o raw-ascii -e /dev/null $TESTFILE 2>
$TEMPDIR/stderr
if [ $? -eq 0 ] ; then fail ; fi
activity="compare stderr"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp/tests/bugs big-input.sh case-map.sh commen...,
John Darrington <=