/[pspp]/pspp/tests/bugs/big-input-2.sh
ViewVC logotype

Diff of /pspp/tests/bugs/big-input-2.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by jmd, Sun Jan 9 08:54:05 2005 UTC revision 1.3 by jmd, Tue Jan 18 11:31:45 2005 UTC
# Line 5  Line 5 
5    
6    
7  TEMPDIR=/tmp/pspp-tst-$$  TEMPDIR=/tmp/pspp-tst-$$
8    TESTFILE=$TEMPDIR/`basename $0`.sps
9    
10  here=`pwd`;  here=`pwd`;
11    
# Line 65  if [ $? -ne 0 ] ; then no_result ; fi Line 66  if [ $? -ne 0 ] ; then no_result ; fi
66  printf "\n";  printf "\n";
67    
68  activity="create program"  activity="create program"
69  cat > $TEMPDIR/large.sps <<EOF  cat > $TESTFILE <<EOF
70  DATA LIST FILE='$TEMPDIR/large.dat' /S 1-2 (A) X 3 .  DATA LIST FILE='$TEMPDIR/large.dat' /S 1-2 (A) X 3 .
71    
72    
# Line 77  EOF Line 78  EOF
78  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
79    
80  activity="run program"  activity="run program"
81  $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null  $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE > /dev/null
82  if [ $? -ne 0 ] ; then fail ; fi  if [ $? -ne 0 ] ; then fail ; fi
83    
84  activity="appending to data"  activity="appending to data"
# Line 89  done )  | head -50000 >> $TEMPDIR/large. Line 90  done )  | head -50000 >> $TEMPDIR/large.
90  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
91    
92  activity="run program"  activity="run program"
93  $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null  $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE > /dev/null
94  if [ $? -ne 0 ] ; then fail ; fi  if [ $? -ne 0 ] ; then fail ; fi
95    
96  pass;  pass;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26