cd $TEMPDIR
-activity="create program"
+activity="create program 1"
cat > $TESTFILE << EOF
DATA LIST LIST /x * y *.
BEGIN DATA.
if [ $? -ne 0 ] ; then no_result ; fi
-activity="run program"
+activity="run program 1"
$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE
if [ $? -ne 0 ] ; then no_result ; fi
|y |F8.0 |
+--------+------+
2.1 EXAMINE. Case Processing Summary
-#=#=============================#
-# # Cases #
-# #---------+---------+---------#
-# # Valid | Missing | Total #
-# #-+-------+-+-------+-+-------#
-# #N|Percent|N|Percent|N|Percent#
-#=#=#=======#=#=======#=#=======#
-#x#6| 86%|1| 14%|7| 100%#
-#=#=#=======#=#=======#=#=======#
+#=#===============================#
+# # Cases #
+# #----------+----------+---------#
+# # Valid | Missing | Total #
+# #-+--------+-+--------+-+-------#
+# #N| Percent|N| Percent|N|Percent#
+#=#=#========#=#========#=#=======#
+#x#6|85.7143%|1|14.2857%|7| 100%#
+#=#=#========#=#========#=#=======#
2.2 EXAMINE. Case Processing Summary
-#==========#=============================#
-# # Cases #
-# #---------+---------+---------#
-# # Valid | Missing | Total #
-# #-+-------+-+-------+-+-------#
-# y #N|Percent|N|Percent|N|Percent#
-#==========#=#=======#=#=======#=#=======#
-#x 1.00#4| 100%|0| 0%|4| 100%#
-# 2.00#2| 67%|1| 33%|3| 100%#
-#==========#=#=======#=#=======#=#=======#
+#==========#===============================#
+# # Cases #
+# #----------+----------+---------#
+# # Valid | Missing | Total #
+# #-+--------+-+--------+-+-------#
+# y #N| Percent|N| Percent|N|Percent#
+#==========#=#========#=#========#=#=======#
+#x 1.00#4| 100%|0| 0%|4| 100%#
+# 2.00#2|66.6667%|1|33.3333%|3| 100%#
+#==========#=#========#=#========#=#=======#
EOF
if [ $? -ne 0 ] ; then fail ; fi
+
+#Make sure this doesn't interfere with percentiles operation.
+
+activity="create program 2"
+cat > $TESTFILE << EOF
+DATA LIST LIST /X *.
+BEGIN DATA.
+99
+99
+5.00
+END DATA.
+
+MISSING VALUE X (99).
+
+EXAMINE /x
+ /PERCENTILES=HAVERAGE.
+
+
+EOF
+if [ $? -ne 0 ] ; then no_result ; fi
+
+
+activity="run program 2"
+$SUPERVISOR $PSPP --testing-mode -o raw-ascii $TESTFILE
+if [ $? -ne 0 ] ; then fail ; fi
+
+
pass;