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

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

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

revision 1.4 by jmd, Wed Dec 29 01:19:57 2004 UTC revision 1.5 by jmd, Tue Jan 18 11:31:45 2005 UTC
# Line 3  Line 3 
3  # This program tests  the EXAMINE command.  # This program tests  the EXAMINE command.
4    
5  TEMPDIR=/tmp/pspp-tst-$$  TEMPDIR=/tmp/pspp-tst-$$
6    TESTFILE=$TEMPDIR/`basename $0`.sps
7    
8  here=`pwd`;  here=`pwd`;
9    
# Line 46  mkdir -p $TEMPDIR Line 47  mkdir -p $TEMPDIR
47  cd $TEMPDIR  cd $TEMPDIR
48    
49  activity="create program"  activity="create program"
50  cat > $TEMPDIR/out.stat <<EOF  cat > $TESTFILE <<EOF
51  DATA LIST LIST /quality * w * brand * .  DATA LIST LIST /quality * w * brand * .
52  BEGIN DATA  BEGIN DATA
53  3  1  1  3  1  1
# Line 85  if [ $? -ne 0 ] ; then no_result ; fi Line 86  if [ $? -ne 0 ] ; then no_result ; fi
86    
87    
88  activity="run program"  activity="run program"
89  $SUPERVISOR $here/../src/pspp -o raw-ascii $TEMPDIR/out.stat  $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
90  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
91    
92  # NOTE:  In the following data: Only the extreme values have been checked  # NOTE:  In the following data: Only the extreme values have been checked

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