/[pspp]/pspp/tests/stats/moments.sh
ViewVC logotype

Diff of /pspp/tests/stats/moments.sh

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

revision 1.4 by blp, Sun Jul 31 04:55:59 2005 UTC revision 1.5 by jstover, Mon Oct 10 22:18:06 2005 UTC
# Line 81  $SUPERVISOR $here/../src/pspp --testing- Line 81  $SUPERVISOR $here/../src/pspp --testing-
81           $TEMPDIR/moments-2p.stat >$TEMPDIR/moments-2p.err 2> $TEMPDIR/moments-2p.out           $TEMPDIR/moments-2p.stat >$TEMPDIR/moments-2p.err 2> $TEMPDIR/moments-2p.out
82    
83  activity="compare two-pass output"  activity="compare two-pass output"
84  diff -B -b $TEMPDIR/moments-list-2p $TEMPDIR/moments-2p.out  perl -pi -e 's/^\s*$//g' $TEMPDIR/moments-list-2p $TEMPDIR/moments-2p.out
85    diff -b $TEMPDIR/moments-list-2p $TEMPDIR/moments-2p.out
86  if [ $? -ne 0 ] ; then fail ; fi  if [ $? -ne 0 ] ; then fail ; fi
87    
88  activity="create input file"  activity="create input file"
# Line 94  $SUPERVISOR $here/../src/pspp --testing- Line 95  $SUPERVISOR $here/../src/pspp --testing-
95           $TEMPDIR/moments-1p.stat >$TEMPDIR/moments-1p.err 2> $TEMPDIR/moments-1p.out           $TEMPDIR/moments-1p.stat >$TEMPDIR/moments-1p.err 2> $TEMPDIR/moments-1p.out
96    
97  activity="compare one-pass output"  activity="compare one-pass output"
98  diff -B -b $TEMPDIR/moments-list-1p $TEMPDIR/moments-1p.out  perl -pi -e 's/^\s*$//g' $TEMPDIR/moments-list-1p $TEMPDIR/moments-1p.out
99    diff -b $TEMPDIR/moments-list-1p $TEMPDIR/moments-1p.out
100  if [ $? -ne 0 ] ; then fail ; fi  if [ $? -ne 0 ] ; then fail ; fi
101    
102  pass  pass

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