X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Flanguage%2Fstats%2Fmeans.at;h=6a87412bff571047eefdc952df3f4adf86bf9077;hb=691a034d7f2139076fa012739dffd40ef5db4a9b;hp=56ab455ba87734b5638a35f3cf7caba626f52fa5;hpb=ca03163952f89844c4a6e96eba59433a15962125;p=pspp diff --git a/tests/language/stats/means.at b/tests/language/stats/means.at index 56ab455ba8..6a87412bff 100644 --- a/tests/language/stats/means.at +++ b/tests/language/stats/means.at @@ -1,4 +1,19 @@ -AT_BANNER([MEANS procedure]) +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 . +dnl AT_BANNER([MEANS procedure]) AT_SETUP([MEANS simple example]) @@ -570,4 +585,26 @@ MEANS TABLES = outcome AT_CHECK([pspp -O format=csv means-bad.sps], [1], [ignore]) -AT_CLEANUP \ No newline at end of file +AT_CLEANUP + + + +AT_SETUP([MEANS parser bug]) + +dnl This bug caused an infinite loop +AT_DATA([means-bad.sps], [dnl +DATA LIST notable LIST /a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 fylo *. +begin data. +1 2 3 4 5 6 7 8 9 0 11 +end data. + +MEANS TABLES = a1 a2 a3 a4 a5 a6 a7 a8 a9 a10a BY fylo. +]) + +AT_CHECK([pspp -O format=csv means-bad.sps], [1], [ignore]) + +AT_CLEANUP + + + +