/[pspp]/pspp/tests/command/file-label.sh
ViewVC logotype

Diff of /pspp/tests/command/file-label.sh

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

revision 1.9 by jstover, Mon Oct 10 20:49:13 2005 UTC revision 1.10 by jstover, Thu Oct 27 18:57:39 2005 UTC
# Line 116  if [ $? -ne 0 ] ; then no_result ; fi Line 116  if [ $? -ne 0 ] ; then no_result ; fi
116    
117    
118  activity="compare results"  activity="compare results"
119  perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list  perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.filtered
120  diff -b  $TEMPDIR/pspp.filtered - <<EOF | perl -e 's/^\s*$//g'  diff -b  $TEMPDIR/pspp.filtered - <<EOF
121  1.1 DATA LIST.  Reading 1 record from the command file.  1.1 DATA LIST.  Reading 1 record from the command file.
122  +--------+------+-------+------+  +--------+------+-------+------+
123  |Variable|Record|Columns|Format|  |Variable|Record|Columns|Format|
# Line 125  diff -b  $TEMPDIR/pspp.filtered - <<EOF Line 125  diff -b  $TEMPDIR/pspp.filtered - <<EOF
125  |X       |     1|  1-  1|F1.0  |  |X       |     1|  1-  1|F1.0  |
126  |Y       |     1|  2-  2|F1.0  |  |Y       |     1|  2-  2|F1.0  |
127  +--------+------+-------+------+  +--------+------+-------+------+
   
128  Documents in the active file:  Documents in the active file:
   
129     First line of a document     First line of a document
130     This is the second very long line of a document in an attempt to overflow the     This is the second very long line of a document in an attempt to overflow the
131     Note that the last line should end with a period: .     Note that the last line should end with a period: .
   
132  File label:  File label:
133  This is a test file label  This is a test file label
   
134  Documents in the active file:  Documents in the active file:
   
135     First line of a document     First line of a document
136     This is the second very long line of a document in an attempt to overflow the     This is the second very long line of a document in an attempt to overflow the
137     Note that the last line should end with a period: .     Note that the last line should end with a period: .
   
138  File label:  File label:
139  This is a test file label  This is a test file label
   
140  Documents in the active file:  Documents in the active file:
   
141     First line of a document     First line of a document
142     This is the second very long line of a document in an attempt to overflow the     This is the second very long line of a document in an attempt to overflow the
143     Note that the last line should end with a period: .     Note that the last line should end with a period: .
   
144     There should be another document now.     There should be another document now.
   
145  Documents in the active file:  Documents in the active file:
   
146     First line of a document     First line of a document
147     This is the second very long line of a document in an attempt to overflow the     This is the second very long line of a document in an attempt to overflow the
148     Note that the last line should end with a period: .     Note that the last line should end with a period: .
   
149     There should be another document now.     There should be another document now.
   
150  File label:  File label:
151  This is a test file label  This is a test file label
152  EOF  EOF

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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