Fix crash in FLIP with no variables.
[pspp] / tests / language / stats / flip.at
index 2b7e234b4244f9812061abdc6979f76e50fc7506..22058f23bf8d5f1cb227036baf3385ea8610958a 100644 (file)
@@ -81,3 +81,20 @@ v9      ,9.00,12.00
 v10     ,10.00,13.00
 ])
 AT_CLEANUP
+
+
+
+
+AT_SETUP([FLIP badly formed])
+
+AT_DATA([flip.sps], [dnl
+data list notable /N 1 (a) a b c d 2-9.
+
+flip newnames=n.
+list.
+flip.
+])
+
+AT_CHECK([pspp -O format=csv flip.sps], [1], [ignore])
+
+AT_CLEANUP