/[pspp]/pspp/tests/command/aggregate.sh
ViewVC logotype

Diff of /pspp/tests/command/aggregate.sh

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

revision 1.4 by blp, Tue Feb 17 05:38:31 2004 UTC revision 1.5 by jmd, Tue Jan 18 11:31:45 2005 UTC
# Line 3  Line 3 
3  # This program tests the aggregate procedure  # This program tests the aggregate procedure
4    
5  TEMPDIR=/tmp/pspp-tst-$$  TEMPDIR=/tmp/pspp-tst-$$
6    TESTFILE=$TEMPDIR/`basename $0`.sps
7    
8    
9  here=`pwd`;  here=`pwd`;
10    
# Line 46  mkdir -p $TEMPDIR Line 48  mkdir -p $TEMPDIR
48  cd $TEMPDIR  cd $TEMPDIR
49    
50  activity="program create"  activity="program create"
51  cat > $TEMPDIR/test.sps << EOF  cat > $TESTFILE << EOF
52    
53  data list notable /x y 1-2.  data list notable /x y 1-2.
54  begin data.  begin data.
# Line 69  EOF Line 71  EOF
71  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
72    
73  activity="run program"  activity="run program"
74  $SUPERVISOR $here/../src/pspp    -o raw-ascii $TEMPDIR/test.sps    $SUPERVISOR $here/../src/pspp    -o raw-ascii $TESTFILE
75  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
76    
77  activity="test result"  activity="test result"

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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