X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fcommand%2Fnpar-binomial.sh;fp=tests%2Fcommand%2Fnpar-binomial.sh;h=db7b9763197da9e35cdd31553ec510195f3edb79;hb=a7fb79e81f6e2a0dfddc61e91f207609e31a4632;hp=5fd38156b2859942e1492036e6a22bf99773d4c8;hpb=67047828d9e0c46f83f800602e36ffe62584c546;p=pspp-builds.git diff --git a/tests/command/npar-binomial.sh b/tests/command/npar-binomial.sh index 5fd38156..db7b9763 100755 --- a/tests/command/npar-binomial.sh +++ b/tests/command/npar-binomial.sh @@ -216,9 +216,9 @@ $SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE 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 P < 0.5; N1/N2 < 1 - 1.1 NPAR TESTS. Binomial Test +-+------#--------+--+--------------+----------+---------------------+ | | #Category| N|Observed Prop.|Test Prop.|Exact Sig. (1-tailed)| @@ -227,9 +227,7 @@ P < 0.5; N1/N2 < 1 | |Group2# 2.00|15| .714| | | | |Total # |21| 1.00| | | +-+------#--------+--+--------------+----------+---------------------+ - P < 0.5; N1/N2 > 1 - 2.1 NPAR TESTS. Binomial Test +-+------#--------+--+--------------+----------+---------------------+ | | #Category| N|Observed Prop.|Test Prop.|Exact Sig. (1-tailed)| @@ -238,9 +236,7 @@ P < 0.5; N1/N2 > 1 | |Group2# 2.00| 6| .462| | | | |Total # |13| 1.00| | | +-+------#--------+--+--------------+----------+---------------------+ - P < 0.5; N1/N2 = 1 - 3.1 NPAR TESTS. Binomial Test +-+------#--------+--+--------------+----------+---------------------+ | | #Category| N|Observed Prop.|Test Prop.|Exact Sig. (1-tailed)| @@ -249,9 +245,7 @@ P < 0.5; N1/N2 = 1 | |Group2# 2.00| 8| .500| | | | |Total # |16| 1.00| | | +-+------#--------+--+--------------+----------+---------------------+ - P > 0.5; N1/N2 < 1 - 4.1 NPAR TESTS. Binomial Test +-+------#--------+--+--------------+----------+---------------------+ | | #Category| N|Observed Prop.|Test Prop.|Exact Sig. (1-tailed)| @@ -260,9 +254,7 @@ P > 0.5; N1/N2 < 1 | |Group2# 2.00|12| .522| | | | |Total # |23| 1.00| | | +-+------#--------+--+--------------+----------+---------------------+ - P > 0.5; N1/N2 > 1 - 5.1 NPAR TESTS. Binomial Test +-+------#--------+--+--------------+----------+---------------------+ | | #Category| N|Observed Prop.|Test Prop.|Exact Sig. (1-tailed)| @@ -271,9 +263,7 @@ P > 0.5; N1/N2 > 1 | |Group2# 2.00| 9| .450| | | | |Total # |20| 1.00| | | +-+------#--------+--+--------------+----------+---------------------+ - P > 0.5; N1/N2 == 1 - 6.1 NPAR TESTS. Binomial Test +-+------#--------+--+--------------+----------+---------------------+ | | #Category| N|Observed Prop.|Test Prop.|Exact Sig. (1-tailed)| @@ -282,9 +272,7 @@ P > 0.5; N1/N2 == 1 | |Group2# 2.00|11| .500| | | | |Total # |22| 1.00| | | +-+------#--------+--+--------------+----------+---------------------+ - P == 0.5; N1/N2 < 1 - 7.1 NPAR TESTS. Binomial Test +-+------#--------+--+--------------+----------+---------------------+ | | #Category| N|Observed Prop.|Test Prop.|Exact Sig. (2-tailed)| @@ -293,9 +281,7 @@ P == 0.5; N1/N2 < 1 | |Group2# 2.00|15| .652| | | | |Total # |23| 1.00| | | +-+------#--------+--+--------------+----------+---------------------+ - P == 0.5; N1/N2 > 1 - 8.1 NPAR TESTS. Binomial Test +-+------#--------+--+--------------+----------+---------------------+ | | #Category| N|Observed Prop.|Test Prop.|Exact Sig. (2-tailed)| @@ -304,9 +290,7 @@ P == 0.5; N1/N2 > 1 | |Group2# 2.00| 6| .333| | | | |Total # |18| 1.00| | | +-+------#--------+--+--------------+----------+---------------------+ - P == 0.5; N1/N2 == 1 - 9.1 NPAR TESTS. Binomial Test +-+------#--------+--+--------------+----------+---------------------+ | | #Category| N|Observed Prop.|Test Prop.|Exact Sig. (2-tailed)| @@ -315,7 +299,6 @@ P == 0.5; N1/N2 == 1 | |Group2# 2.00|10| .500| | | | |Total # |20| 1.00| | | +-+------#--------+--+--------------+----------+---------------------+ - EOF if [ $? -ne 0 ] ; then fail ; fi