X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fbugs%2Ft-test-alpha3.sh;h=b197c574f3afd8f838b05a8e8caa13435fa9881a;hb=ef1c533e8f71be42b019cdbf4c5791b6bcd2d476;hp=9a437efb8a466246a09859dc110d102c7dfc739a;hpb=7fbfc32fc3c636959b0a25b3e76609f86519e84a;p=pspp-builds.git diff --git a/tests/bugs/t-test-alpha3.sh b/tests/bugs/t-test-alpha3.sh index 9a437efb..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|SE. 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