/[pspp]/pspp/tests/command/match-files.sh
ViewVC logotype

Diff of /pspp/tests/command/match-files.sh

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

revision 1.5 by blp, Sun Jul 31 04:55:59 2005 UTC revision 1.6 by jstover, Mon Oct 10 20:58:14 2005 UTC
# Line 165  EOF Line 165  EOF
165          if [ $? -ne 0 ] ; then no_result ; fi          if [ $? -ne 0 ] ; then no_result ; fi
166    
167          activity="check $name output"          activity="check $name output"
168          diff -b -w -B pspp.list $types.out          perl -pi -e 's/^\s*$//g' pspp.list
169            perl -pi -e 's/^\s*$//g' $types.out
170            diff -b -w pspp.list $types.out
171          if [ $? -ne 0 ] ; then fail ; fi          if [ $? -ne 0 ] ; then fail ; fi
172      done      done
173  done  done
# Line 188  $SUPERVISOR $here/../src/pspp -o raw-asc Line 190  $SUPERVISOR $here/../src/pspp -o raw-asc
190  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
191    
192  activity="check $name output"  activity="check $name output"
193  diff -b -w -B - pspp.list <<EOF  perl -pi -e 's/^\s*$//g' pspp.list
194    diff -b -w - pspp.list <<EOF |perl -e 's/^\s*$//g'
195  A B C D E F  A B C D E F
196  - - - - - -  - - - - - -
197  0 a A 1 b N  0 a A 1 b N
# Line 236  $SUPERVISOR $here/../src/pspp -o raw-asc Line 239  $SUPERVISOR $here/../src/pspp -o raw-asc
239  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
240    
241  activity="check $name output"  activity="check $name output"
242  diff -b -w -B - pspp.list <<EOF  perl -pi -e 's/^\s*$//g' pspp.list
243    diff -b -w - pspp.list <<EOF | perl -e 's/^\s*$//g'
244          x        z        y          x        z        y
245   -------- -------- --------   -------- -------- --------
246       3.00     8.00    30.00       3.00     8.00    30.00

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

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