"Sig." is an abbreviation, "Exact" is not.
[pspp-builds.git] / tests / command / npar-wilcoxon.sh
index c4a5d825f4895daff1035d489daeb82e7b9a094c..4242b55b6581dcd82e551392856857c7fc3919e0 100755 (executable)
@@ -59,7 +59,7 @@ cd $TEMPDIR
 
 activity="create program 1"
 cat > $TESTFILE <<  EOF
-data list notable list /foo * bar * w *.
+data list notable list /foo * bar * w (f8.0).
 begin data.
 1.00     1.00   1
 1.00     2.00   1
@@ -94,7 +94,6 @@ activity="run program 1"
 $SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
-
 activity="generate results"
 cat > $TEMPDIR/results.txt <<EOF
 1.1 NPAR TESTS.  Ranks
@@ -108,14 +107,14 @@ cat > $TEMPDIR/results.txt <<EOF
 #============================#==#=========#============#
 
 1.2 NPAR TESTS.  Test Statistics
-#=====================#==============#
-#                     #second - first#
-#=====================#==============#
-#Z                    #         -.175#
-#Asymp. Sig (2-tailed)#          .861#
-#Exact Sig (2-tailed) #          .893#
-#Exact Sig (1-tailed) #          .446#
-#=====================#==============#
+#======================#==============#
+#                      #second - first#
+#======================#==============#
+#Z                     #          -.18#
+#Asymp. Sig. (2-tailed)#           .86#
+#Exact Sig. (2-tailed) #           .89#
+#Exact Sig. (1-tailed) #           .45#
+#======================#==============#
 
 EOF
 if [ $? -ne 0 ] ; then no_result ; fi
@@ -126,6 +125,7 @@ diff pspp.list $TEMPDIR/results.txt
 if [ $? -ne 0 ] ; then fail ; fi
 
 
+
 # No weights this time. But some missing values
 activity="create program 2"
 cat > $TESTFILE <<  EOF
@@ -164,7 +164,6 @@ activity="run program 2"
 $SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
-
 activity="compare output 2"
 diff pspp.list $TEMPDIR/results.txt
 if [ $? -ne 0 ] ; then fail ; fi