Ensure correct behaviour when the state var is missing.
[pspp-builds.git] / tests / command / roc.sh
index df3312be1cdff41d769a961531eab637a03e37ca..0c24f0c585961f799c6ccd23fdddfd0ab1dd3381 100755 (executable)
@@ -68,10 +68,12 @@ begin data.
 2 3 4  1
 2 4 14 0
 3 5 10 1
+. . 1  0
 3 1 5  0
 4 2 14 1
 4 3 2  0
 5 4 20 1
+5 4 20 .
 5 5 1  0
 end data.
 
@@ -95,6 +97,7 @@ activity="run program"
 $SUPERVISOR $PSPP --testing-mode $TESTFILE
 if [ $? -ne 0 ] ; then no_result ; fi
 
+
 activity="compare results"
 perl -pi -e 's/^\s*$//g' $TEMPDIR/pspp.list
 diff -b  $TEMPDIR/pspp.list - << EOF
@@ -159,7 +162,7 @@ See pspp-1.png for a chart.
 #            y#                                .000|      1.000|          1.000#
 #             #                               1.500|       .960|           .900#
 #             #                               2.500|       .680|           .340#
-#             #                               3.000|       .600|           .300#
+#             #                               3.000|       .600|           .340#
 #             #                               3.500|       .600|           .300#
 #             #                               4.500|       .200|           .020#
 #             #                               6.000|       .000|           .000#