ONEWAY: Fixed crash when the dependent variable contained only missing values.
[pspp-builds.git] / tests / language / stats / oneway.at
index c824d9a49394f975bef6dee5da76f482d439507e..7602eff465c7295c2c1832ecce550c36c492382b 100644 (file)
@@ -920,4 +920,31 @@ oneway test by x.
 
 AT_CHECK([pspp -O format=csv crash.sps], [0], [ignore])
 
-AT_CLEANUP
\ No newline at end of file
+AT_CLEANUP
+
+
+
+AT_SETUP([ONEWAY crash on missing dependent variable])
+AT_DATA([crash2.sps],[dnl
+data list notable list /dv1 * dv2  *  y * .
+begin data.
+2  .  2     
+1  .  2 
+1  .  1    
+2  .  4    
+3  .  4
+4  .  4    
+5  .  4    
+end data.
+
+ONEWAY 
+       /VARIABLES= dv1 dv2  BY y
+       /STATISTICS = DESCRIPTIVES
+       /POSTHOC = BONFERRONI LSD SCHEFFE SIDAK TUKEY
+       /MISSING = ANALYSIS      
+       .
+])
+
+AT_CHECK([pspp -O format=csv crash2.sps], [0], [ignore])
+
+AT_CLEANUP