Replace more uses of 'cnt' by 'n'.
[pspp] / tests / data / file.at
index 6fcbe579aae3ece1afcdf29c9a2c105a5a56cd6d..e48fe05a65c95e190c9891a008b8b69f84bfc4b3 100644 (file)
@@ -84,7 +84,7 @@ AT_CLEANUP
 AT_SETUP([Write fifo])
 
 dnl The Fifo feature is not available in w32 builds
-AT_SKIP_IF([case $host in *-*-mingw*) true ;; *) false ;; esac])
+AT_SKIP_IF([$MINGW])
 
 AT_DATA([file.sps], [dnl
 DATA LIST NOTABLE/x 1.
@@ -120,3 +120,21 @@ x,y
 ])
 
 AT_CLEANUP
+
+
+dnl This was seen to crash pspp
+AT_SETUP([Reusing inline file])
+
+AT_DATA([inline-reuse.sps], [dnl
+get data /type=txt /file=inline  /variables=A f7.2 .
+
+data list notable list /foo.
+begin data.
+end data.
+
+data list notable list /foo.
+])
+
+AT_CHECK([pspp inline-reuse.sps], [0], [ignore])
+
+AT_CLEANUP