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

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

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

revision 1.19 by jstover, Mon Oct 10 20:49:13 2005 UTC revision 1.20 by jstover, Thu Oct 27 18:57:39 2005 UTC
# Line 98  if [ $? -ne 0 ] ; then fail ; fi Line 98  if [ $? -ne 0 ] ; then fail ; fi
98    
99    
100  activity="compare output"  activity="compare output"
101  perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list  perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
102  diff -b  $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g'  diff -b  $TEMPDIR/pspp.list - << EOF
103  1.1 DATA LIST.  Reading free-form data from file $TEMPDIR/data-list.data.  1.1 DATA LIST.  Reading free-form data from file $TEMPDIR/data-list.data.
104  +--------+------+  +--------+------+
105  |Variable|Format|  |Variable|Format|
# Line 109  diff -b  $TEMPDIR/pspp.list - << EOF | p Line 109  diff -b  $TEMPDIR/pspp.list - << EOF | p
109  |C       |F8.0  |  |C       |F8.0  |
110  |D       |F8.0  |  |D       |F8.0  |
111  +--------+------+  +--------+------+
   
112  2.1 PRINT.  Writing 1 record(s) to file foo.  2.1 PRINT.  Writing 1 record(s) to file foo.
113  +--------+------+-------+------+  +--------+------+-------+------+
114  |Variable|Record|Columns|Format|  |Variable|Record|Columns|Format|
# Line 121  diff -b  $TEMPDIR/pspp.list - << EOF | p Line 120  diff -b  $TEMPDIR/pspp.list - << EOF | p
120  |C       |     1| 19- 28|N10.0 |  |C       |     1| 19- 28|N10.0 |
121  |"/"     |     1| 29- 29|A1    |  |"/"     |     1| 29- 29|A1    |
122  +--------+------+-------+------+  +--------+------+-------+------+
   
   
123         A        B        C        D         A        B        C        D
124  -------- -------- -------- --------  -------- -------- -------- --------
125       .       2.00     3.00     4.00       .       2.00     3.00     4.00
   
126       .       6.00     7.00     8.00       .       6.00     7.00     8.00
   
127       .      10.00    11.00    12.00       .      10.00    11.00    12.00
   
128  3.1 DATA LIST.  Reading free-form data from file $TEMPDIR/data-list.data.  3.1 DATA LIST.  Reading free-form data from file $TEMPDIR/data-list.data.
129  +--------+------+  +--------+------+
130  |Variable|Format|  |Variable|Format|
# Line 140  diff -b  $TEMPDIR/pspp.list - << EOF | p Line 134  diff -b  $TEMPDIR/pspp.list - << EOF | p
134  |C       |F8.0  |  |C       |F8.0  |
135  |D       |F8.0  |  |D       |F8.0  |
136  +--------+------+  +--------+------+
   
137  4.1 PRINT.  Writing 1 record(s) to the listing file.  4.1 PRINT.  Writing 1 record(s) to the listing file.
138  +--------+------+-------+------+  +--------+------+-------+------+
139  |Variable|Record|Columns|Format|  |Variable|Record|Columns|Format|
# Line 151  diff -b  $TEMPDIR/pspp.list - << EOF | p Line 144  diff -b  $TEMPDIR/pspp.list - << EOF | p
144  |D       |     1| 28- 35|F8.2  |  |D       |     1| 28- 35|F8.2  |
145  +--------+------+-------+------+  +--------+------+-------+------+
146       .       2.00     3.00     4.00       .       2.00     3.00     4.00
   
147         A        B        C        D         A        B        C        D
148  -------- -------- -------- --------  -------- -------- -------- --------
149       .       2.00     3.00     4.00       .       2.00     3.00     4.00
# Line 165  diff -b  $TEMPDIR/pspp.list - << EOF | p Line 157  diff -b  $TEMPDIR/pspp.list - << EOF | p
157     10.00    11.00      .        .       10.00    11.00      .        .  
158     12.00      .        .        .       12.00      .        .        .  
159     12.00      .        .        .       12.00      .        .        .  
   
160  EOF  EOF
161  if [ $? -ne 0 ] ; then fail ; fi  if [ $? -ne 0 ] ; then fail ; fi
162    

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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