X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=tests%2Flanguage%2Fdictionary%2Fmodify-variables.at;h=f101ba72116e4ad5f4e58c88c54fff88bebf261d;hb=74709d3f6d7c102bb3226f7f132c8be78ce8e8c2;hp=818bf5f51d278dcba760dacb388c31f35efd5226;hpb=25bc101890a62f780da3a7c6af71ecc3ce09fdb1;p=pspp diff --git a/tests/language/dictionary/modify-variables.at b/tests/language/dictionary/modify-variables.at index 818bf5f51d..f101ba7211 100644 --- a/tests/language/dictionary/modify-variables.at +++ b/tests/language/dictionary/modify-variables.at @@ -1,16 +1,16 @@ dnl PSPP - a program for statistical analysis. -dnl Copyright (C) 2017 Free Software Foundation, Inc. -dnl +dnl Copyright (C) 2017, 2020 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 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 dnl You should have received a copy of the GNU General Public License dnl along with this program. If not, see . dnl @@ -237,3 +237,17 @@ modify-variables.sps:16: error: MODIFY VARS: MODIFY VARS may not be used to dele modify-variables.sps:17: error: Stopping syntax file processing here to avoid a cascade of dependent command failures. ]) AT_CLEANUP + +AT_SETUP([MODIFY VARS crash]) +AT_DATA([modify-variables.sps], [dnl +DATA LIST notable LIST /a b c (F2.0). +BEGIN DATA. +1 2 3 +END DATA. + +MODIFY VARS /RENAME (a 4 c = one two three). +]) + +AT_CHECK([pspp -O format=csv modify-variables.sps], [1], [ignore]) + +AT_CLEANUP