/[pspp]/pspp/tests/bugs/temp-freq.sh
ViewVC logotype

Diff of /pspp/tests/bugs/temp-freq.sh

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

revision 1.4 by jstover, Mon Oct 10 22:18:06 2005 UTC revision 1.5 by jstover, Thu Oct 27 19:32:56 2005 UTC
# Line 75  if [ $? -ne 0 ] ; then no_result ; fi Line 75  if [ $? -ne 0 ] ; then no_result ; fi
75  $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE  $SUPERVISOR $here/../src/pspp -o raw-ascii $TESTFILE
76  if [ $? -ne 0 ] ; then no_result ; fi  if [ $? -ne 0 ] ; then no_result ; fi
77    
78  perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list  perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
79  diff -b  -w $TEMPDIR/pspp.list - << EOF | perl -e 's/^\s*$//g'  diff -b  -w $TEMPDIR/pspp.list - << EOF
80  1.1 DATA LIST.  Reading free-form data from the command file.  1.1 DATA LIST.  Reading free-form data from the command file.
81  +--------+------+  +--------+------+
82  |Variable|Format|  |Variable|Format|
# Line 84  diff -b  -w $TEMPDIR/pspp.list - << EOF Line 84  diff -b  -w $TEMPDIR/pspp.list - << EOF
84  |SEX     |A1    |  |SEX     |A1    |
85  |X       |F8.0  |  |X       |F8.0  |
86  +--------+------+  +--------+------+
   
87  2.1 FREQUENCIES.  X:  2.1 FREQUENCIES.  X:
88  +-----------+--------+---------+--------+--------+--------+  +-----------+--------+---------+--------+--------+--------+
89  |           |        |         |        |  Valid |   Cum  |  |           |        |         |        |  Valid |   Cum  |
# Line 97  diff -b  -w $TEMPDIR/pspp.list - << EOF Line 96  diff -b  -w $TEMPDIR/pspp.list - << EOF
96  #===========#========#=========#========#========#========#  #===========#========#=========#========#========#========#
97  |               Total|        4|   100.0|   100.0|        |  |               Total|        4|   100.0|   100.0|        |
98  +--------------------+---------+--------+--------+--------+  +--------------------+---------+--------+--------+--------+
   
99  +---------------+------+  +---------------+------+
100  |N       Valid  |     4|  |N       Valid  |     4|
101  |        Missing|     0|  |        Missing|     0|
# Line 106  diff -b  -w $TEMPDIR/pspp.list - << EOF Line 104  diff -b  -w $TEMPDIR/pspp.list - << EOF
104  |Minimum        |12.000|  |Minimum        |12.000|
105  |Maximum        |31.000|  |Maximum        |31.000|
106  +---------------+------+  +---------------+------+
   
107  EOF  EOF
108  if [ $? -ne 0 ] ; then fail ; fi  if [ $? -ne 0 ] ; then fail ; fi
109    

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

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