From: Ben Pfaff Date: Wed, 4 Apr 2007 04:25:48 +0000 (+0000) Subject: * npar-binomial.sh: Be less picky about whitespace in PSPP output. X-Git-Tag: v0.6.0~500 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea16e1238bfd173fcf5650ddfba180f1c8e1db30;p=pspp-builds.git * npar-binomial.sh: Be less picky about whitespace in PSPP output. * npar-chisquare.sh: Ditto. * very-long-strings.sh: Ditto. --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 62057ed7..66e793d1 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,12 @@ +2007-04-03 Ben Pfaff + John McCabe-Dansted + + * npar-binomial.sh: Be less picky about whitespace in PSPP output. + + * npar-chisquare.sh: Ditto. + + * very-long-strings.sh: Ditto. + 2007-04-03 Ben Pfaff Apply patches #5828, #5837, #5841, #5843. diff --git a/tests/command/npar-binomial.sh b/tests/command/npar-binomial.sh index db7b9763..6fc35117 100755 --- a/tests/command/npar-binomial.sh +++ b/tests/command/npar-binomial.sh @@ -217,7 +217,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="compare output 1" perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff $TEMPDIR/pspp.list - << EOF +diff -b $TEMPDIR/pspp.list - << EOF P < 0.5; N1/N2 < 1 1.1 NPAR TESTS. Binomial Test +-+------#--------+--+--------------+----------+---------------------+ diff --git a/tests/command/npar-chisquare.sh b/tests/command/npar-chisquare.sh index 60503a9c..5a1b8af1 100755 --- a/tests/command/npar-chisquare.sh +++ b/tests/command/npar-chisquare.sh @@ -96,7 +96,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="compare output 1" perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff $TEMPDIR/pspp.list - << EOF +diff -b $TEMPDIR/pspp.list - << EOF 1.1 NPAR TESTS. x +--------#----------+----------+--------+ | #Observed N|Expected N|Residual| @@ -197,7 +197,7 @@ if [ $? -eq 0 ] ; then no_result ; fi activity="compare errors 2" perl -pi -e 's/^\s*$//g' $TEMPDIR/output -diff $TEMPDIR/output - << EOF +diff -b $TEMPDIR/output - << EOF error: CHISQUARE test specified 6 expected values, but 4 distinct values were encountered in variable y. EOF if [ $? -ne 0 ] ; then fail ; fi @@ -237,7 +237,7 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="compare output 3" perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff $TEMPDIR/pspp.list - <