Merge remote-tracking branch 'origin/master' into sheet
[pspp] / tests / language / command.at
index ae91558ce14965b19950150da347153a390d8b90..476c8e71e8dda02bc934903aa362f1a7a96ed361 100644 (file)
@@ -1,3 +1,19 @@
+dnl PSPP - a program for statistical analysis.
+dnl Copyright (C) 2017 Free Software Foundation, Inc.
+dnl 
+dnl This program is free software: you can redistribute it and/or modify
+dnl it under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation, either version 3 of the License, or
+dnl (at your option) any later version.
+dnl 
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+dnl GNU General Public License for more details.
+dnl 
+dnl You should have received a copy of the GNU General Public License
+dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
+dnl
 AT_BANNER([command parser])
 
 dnl Tests for a bug which crashed pspp when given certain invalid input.
@@ -18,7 +34,7 @@ dnl read the first token of the next command.
 dnl
 dnl (If this reecurs, the the test will run forever.)
 AT_SETUP([FINISH executes immediately])
-AT_CHECK([(echo "FINISH."; while :; do echo; done) | pspp])
+AT_CHECK([(echo "FINISH."; while echo ; do true; done) | pspp], [0], [ignore], [ignore])
 AT_CLEANUP
 
 AT_BANNER([ERASE])