X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Ft-test-alpha3.sh;h=b197c574f3afd8f838b05a8e8caa13435fa9881a;hb=dfd1972f7bcb550a4fc3b05dbe7e71d12334b0a7;hp=c54bba3cf541a1ce7c738487e88ec6db09bb7a1e;hpb=c9a3c45e44c1c03d13d4eb186e3817bc836f75f8;p=pspp-builds.git diff --git a/tests/bugs/t-test-alpha3.sh b/tests/bugs/t-test-alpha3.sh index c54bba3c..b197c574 100755 --- a/tests/bugs/t-test-alpha3.sh +++ b/tests/bugs/t-test-alpha3.sh @@ -84,33 +84,23 @@ if [ $? -ne 0 ] ; then no_result ; fi activity="compare output" -perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list -diff -b $TEMPDIR/pspp.list - << EOF -1.1 DATA LIST. Reading free-form data from INLINE. -+--------+------+ -|Variable|Format| -#========#======# -|x |F8.0 | -|gv |A8 | -+--------+------+ -2.1 T-TEST. Group Statistics -#==========#=#====#==============#=========# -# gv |N|Mean|Std. Deviation|S.E. Mean# -#==========#=#====#==============#=========# -#x One |5|2.60| .55| .24# -# Two |3|3.50| .50| .29# -#==========#=#====#==============#=========# -2.2 T-TEST. Independent Samples Test -#============================#=========#============================================================================# -# # Levene's| t-test for Equality of Means # -# #----+----+-----+----+---------------+---------------+---------------------+-----------# -# # | | | | | | | 95% # -# # | | | | | | +-----+-----# -# # F |Sig.| t | df |Sig. (2-tailed)|Mean Difference|Std. Error Difference|Lower|Upper# -#============================#====#====#=====#====#===============#===============#=====================#=====#=====# -#xEqual variances assumed #1.13| .33|-2.32|6.00| .06| -.90| .38|-1.83| .03# -# Equal variances not assumed# | |-2.38|4.70| .07| -.90| .38|-1.89| .09# -#============================#====#====#=====#====#===============#===============#=====================#=====#=====# +diff -c $TEMPDIR/pspp.csv - << EOF +Table: Reading free-form data from INLINE. +Variable,Format +x,F8.0 +gv,A8 + +Table: Group Statistics +,gv,N,Mean,Std. Deviation,S.E. Mean +x,One ,5,2.60,.55,.24 +,Two ,3,3.50,.50,.29 + +Table: Independent Samples Test +,,Levene's Test for Equality of Variances,,t-test for Equality of Means,,,,,, +,,,,,,,,,95% Confidence Interval of the Difference, +,,F,Sig.,t,df,Sig. (2-tailed),Mean Difference,Std. Error Difference,Lower,Upper +x,Equal variances assumed,1.13,.33,-2.32,6.00,.06,-.90,.38,-1.83,.03 +,Equal variances not assumed,,,-2.38,4.70,.07,-.90,.38,-1.89,.09 EOF if [ $? -ne 0 ] ; then fail ; fi