COMMENT: Convert test to Autotest framework.
[pspp-builds.git] / tests / language / command.at
index 029e1b1fb9dab3f97899aca61f8730aac28e3073..1bd6ccf2ebc1fc22d4de85bc1c1bb4621945d456 100644 (file)
@@ -77,3 +77,14 @@ x
 15.00
 ])
 AT_CLEANUP
+
+AT_BANNER([COMMENT])
+
+dnl Tests for a bug wherein a comment just before end-of-file caused an
+dnl infinite loop.
+AT_SETUP([COMMENT at end of file])
+AT_DATA([comment.sps], [dnl
+COMMENT this is a comment at end of file.
+])
+AT_CHECK([pspp -O format=csv comment.sps])
+AT_CLEANUP