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

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

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

revision 1.5 by jstover, Mon Oct 10 20:49:13 2005 UTC revision 1.6 by jstover, Thu Oct 27 18:57:39 2005 UTC
# Line 78  grep -i Brake $TEMPDIR/rename.sav Line 78  grep -i Brake $TEMPDIR/rename.sav
78  if [ $? -eq 0 ] ; then fail ; fi  if [ $? -eq 0 ] ; then fail ; fi
79    
80  activity="compare output"  activity="compare output"
81  perl -pi -e s/^\s*\$//g $TEMPDIR/pspp.list  perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
82  diff  -b $TEMPDIR/pspp.list - <<EOF | perl -e 's/^\s*$//g'  diff  -b $TEMPDIR/pspp.list - <<EOF
83  1.1 DATA LIST.  Reading free-form data from the command file.  1.1 DATA LIST.  Reading free-form data from the command file.
84  +----------+------+  +----------+------+
85  | Variable |Format|  | Variable |Format|
# Line 87  diff  -b $TEMPDIR/pspp.list - <<EOF | pe Line 87  diff  -b $TEMPDIR/pspp.list - <<EOF | pe
87  |brakeFluid|F8.0  |  |brakeFluid|F8.0  |
88  |y         |F8.0  |  |y         |F8.0  |
89  +----------+------+  +----------+------+
   
90  brakeFluid        y  brakeFluid        y
91  ---------- --------  ---------- --------
92        1.00     3.00        1.00     3.00
93        2.00     3.00        2.00     3.00
94        3.00     3.00        3.00     3.00
95        4.00     3.00        4.00     3.00
   
96  applecarts        y  applecarts        y
97  ---------- --------  ---------- --------
98        1.00     3.00        1.00     3.00
99        2.00     3.00        2.00     3.00
100        3.00     3.00        3.00     3.00
101        4.00     3.00        4.00     3.00
   
102  EOF  EOF
103  if [ $? -ne 0 ] ; then fail ; fi  if [ $? -ne 0 ] ; then fail ; fi
104    

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