/[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.1 by jmd, Thu Jan 6 12:55:45 2005 UTC revision 1.2 by jmd, Sun Jan 9 08:54:05 2005 UTC
# Line 53  if [ $? -ne 0 ] ; then no_result ; fi Line 53  if [ $? -ne 0 ] ; then no_result ; fi
53    
54  printf "Creating input data.  Please wait"  printf "Creating input data.  Please wait"
55  activity="create data"  activity="create data"
56  i=0  ( while true ; do
57  while [ $i -lt 100000 ] ; do          echo AB12;
58          echo AB12 >> $TEMPDIR/large.dat;  done )  | head -100000 >> $TEMPDIR/large.dat
59          i=$[$i + 1];  if [ $? -ne 0 ] ; then no_result ; fi
 done;  
60  printf '.'  printf '.'
61  i=0  ( while true ; do
62  while [ $i -lt 100000 ] ; do          echo AB04;
63          echo AB04 >> $TEMPDIR/large.dat;  done )  | head -100000 >> $TEMPDIR/large.dat
         i=$[$i + 1];  
 done;  
64  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
65  printf "\n";  printf "\n";
66    
# Line 83  activity="run program" Line 80  activity="run program"
80  $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null  $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null
81  if [ $? -ne 0 ] ; then fail ; fi  if [ $? -ne 0 ] ; then fail ; fi
82    
   
83  activity="appending to data"  activity="appending to data"
84  # Put another 100,000 cases into large.dat  # Put another 100,000 cases into large.dat
85  i=0  ( while true ; do
86  while [ $i -lt 50000 ] ; do          echo AB04
87          echo AB04 >> $TEMPDIR/large.dat;          echo AB12
88          echo AB12 >> $TEMPDIR/large.dat;  done )  | head -50000 >> $TEMPDIR/large.dat
         i=$[$i + 1];  
 done;  
89  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
90    
91  activity="run program"  activity="run program"
92  $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null  $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/large.sps > /dev/null
93  if [ $? -ne 0 ] ; then fail ; fi  if [ $? -ne 0 ] ; then fail ; fi
94    
   
   
95  pass;  pass;

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

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