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.
])
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