/[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.6 by jstover, Mon Oct 10 20:49:13 2005 UTC revision 1.7 by jstover, Thu Oct 27 18:57:39 2005 UTC
# Line 106  $SUPERVISOR $here/../src/pspp --testing- Line 106  $SUPERVISOR $here/../src/pspp --testing-
106  if [ $? -ne 0 ] ; then fail ; fi  if [ $? -ne 0 ] ; then fail ; fi
107    
108  activity="compare output"  activity="compare output"
109  perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list  perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
110  diff -b  $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g'  diff -b  $TEMPDIR/pspp.list - << EOF
111  1.1 DATA LIST.  Reading free-form data from the command file.  1.1 DATA LIST.  Reading free-form data from the command file.
112  +--------+------+  +--------+------+
113  |Variable|Format|  |Variable|Format|
# Line 117  diff -b  $TEMPDIR/pspp.list - << EOF | p Line 117  diff -b  $TEMPDIR/pspp.list - << EOF | p
117  |C       |F8.0  |  |C       |F8.0  |
118  |D       |F8.0  |  |D       |F8.0  |
119  +--------+------+  +--------+------+
   
120         A        B        C        D         A        B        C        D
121  -------- -------- -------- --------  -------- -------- -------- --------
122      1.00    23.00    45.00     2.03      1.00    23.00    45.00     2.03
123      2.00    22.00    34.00    23.00      2.00    22.00    34.00    23.00
124      3.00    34.00    34.00    34.00      3.00    34.00    34.00    34.00
   
125         A        B        C        D         A        B        C        D
126  -------- -------- -------- --------  -------- -------- -------- --------
127       .       1.00     2.00     3.00       .       1.00     2.00     3.00
# Line 132  diff -b  $TEMPDIR/pspp.list - << EOF | p Line 130  diff -b  $TEMPDIR/pspp.list - << EOF | p
130       .00     1.00      .        .         .00     1.00      .        .  
131       .        .        .        .         .        .        .        .  
132      2.00     3.00     4.00     5.00      2.00     3.00     4.00     5.00
   
133         A        B        C        D         A        B        C        D
134  -------- -------- -------- --------  -------- -------- -------- --------
135      1.00     2.00     3.00     4.00      1.00     2.00     3.00     4.00

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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