/[pspp]/pspp/tests/command/data-list.sh
ViewVC logotype

Diff of /pspp/tests/command/data-list.sh

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

revision 1.2 by jmd, Sat Jan 1 11:03:45 2005 UTC revision 1.3 by jmd, Tue Jan 18 11:31:45 2005 UTC
# Line 3  Line 3 
3  # This program tests the DATA LIST input program.  # This program tests the DATA LIST input program.
4    
5  TEMPDIR=/tmp/pspp-tst-$$  TEMPDIR=/tmp/pspp-tst-$$
6    TESTFILE=$TEMPDIR/`basename $0`.sps
7    
8  here=`pwd`;  here=`pwd`;
9    
# Line 47  cd $TEMPDIR Line 48  cd $TEMPDIR
48    
49  # Create command file.  # Create command file.
50  activity="create program"  activity="create program"
51  cat > $TEMPDIR/data-list.stat << EOF  cat > $TESTFILE << EOF
52  data list list ('|','X') /A B C D.  data list list ('|','X') /A B C D.
53  begin data.  begin data.
54  1|23X45|2.03  1|23X45|2.03
# Line 99  if [ $? -ne 0 ] ; then no_result ; fi Line 100  if [ $? -ne 0 ] ; then no_result ; fi
100    
101    
102  activity="run program"  activity="run program"
103  $SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii --testing-mode $TEMPDIR/data-list.stat # > $TEMPDIR/errs  $SUPERVISOR $here/../src/pspp --testing-mode -o raw-ascii --testing-mode $TESTFILE
104  if [ $? -ne 0 ] ; then fail ; fi  if [ $? -ne 0 ] ; then fail ; fi
105    
106  activity="compare output"  activity="compare output"

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