X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Flanguage%2Fdata-io%2Flist.at;h=5dd3af42bcff989f0a096aaf19b65ab277c4578f;hb=8a0397328b6230fd49724e1c6d91a5a545d2fb4b;hp=c93437ae9b1b658692efa44af437c1dccaf03748;hpb=5cab4cf3322f29c0ed7134d23740e07382914f20;p=pspp diff --git a/tests/language/data-io/list.at b/tests/language/data-io/list.at index c93437ae9b..5dd3af42bc 100644 --- a/tests/language/data-io/list.at +++ b/tests/language/data-io/list.at @@ -1,16 +1,16 @@ dnl PSPP - a program for statistical analysis. dnl Copyright (C) 2017 Free Software Foundation, Inc. -dnl +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 @@ -39,8 +39,8 @@ AT_CHECK([pspp -o pspp.csv list.sps]) AT_CHECK([cat pspp.csv], [0], [dnl Table: Reading 1 record from `data.txt'. Variable,Record,Columns,Format -avar,1,1- 5,F5.0 -bvar,1,6- 10,F5.0 +avar,1,1-5,F5.0 +bvar,1,6-10,F5.0 Table: Data List avar,bvar @@ -76,13 +76,14 @@ AT_DATA([list.sps], [dnl DATA LIST FILE='data.txt'/avar 1-5 bvar 6-10. WEIGHT BY bvar. LIST/FORMAT NUMBERED. +LIST/FORMAT NUMBERED/CASES FROM 2 TO 9 BY 2. ]) AT_CHECK([pspp -o pspp.csv list.sps]) AT_CHECK([cat pspp.csv], [0], [dnl Table: Reading 1 record from `data.txt'. Variable,Record,Columns,Format -avar,1,1- 5,F5.0 -bvar,1,6- 10,F5.0 +avar,1,1-5,F5.0 +bvar,1,6-10,F5.0 Table: Data List Case Number,avar,bvar @@ -97,6 +98,13 @@ Case Number,avar,bvar 9,26,30 10,27,21 11,28,23 + +Table: Data List +Case Number,avar,bvar +2,19,7 +4,21,76 +6,23,58 +8,25,38 ]) AT_CLEANUP @@ -259,8 +267,8 @@ LIST. AT_CHECK([pspp -o pspp.csv list.sps]) AT_CHECK([cat pspp.csv], [0], [dnl Table: Variables -Name,Position,Print Format,Write Format,Missing Values -foo,1,A2000,A2000, +Name,Position,Print Format,Write Format +foo,1,A2000,A2000 Table: Data List foo