X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fdata%2Fpor-file.at;h=9024f89ba29665edb4d4a630f64885e6ac9c01c4;hb=8491d88610f4a0c48891be493a4bd0522aec297b;hp=d7ba8048650e9d3f382ab87f906424bc72185cfc;hpb=a965acea74a93eba5c78c17c6595eef9a776a464;p=pspp diff --git a/tests/data/por-file.at b/tests/data/por-file.at index d7ba804865..9024f89ba2 100644 --- a/tests/data/por-file.at +++ b/tests/data/por-file.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 @@ -104,27 +104,21 @@ DISPLAY DICTIONARY. LIST. ]) AT_CHECK([pspp -O format=csv import.sps], [0], [dnl -Variable,Description,Position -VAR1,"Format: F1.0 - -Value,Label -1,one",1 -VAR2,"Format: F1.0 - -Value,Label -2,two",2 -VAR3,"Format: F1.0 - -Value,Label -3,three",3 -VAR4,"Format: F1.0 - -Value,Label -4,four",4 -VAR5,"Format: F1.0 - -Value,Label -5,five",5 +Table: Variables +Name,Position,Measurement Level,Role,Width,Alignment,Print Format,Write Format +VAR1,1,Scale,Input,8,Right,F1.0,F1.0 +VAR2,2,Scale,Input,8,Right,F1.0,F1.0 +VAR3,3,Scale,Input,8,Right,F1.0,F1.0 +VAR4,4,Scale,Input,8,Right,F1.0,F1.0 +VAR5,5,Scale,Input,8,Right,F1.0,F1.0 + +Table: Value Labels +Variable Value,,Label +VAR1,1,one +VAR2,2,two +VAR3,3,three +VAR4,4,four +VAR5,5,five Table: Data List VAR1,VAR2,VAR3,VAR4,VAR5 @@ -138,54 +132,28 @@ AT_CHECK([pspp -O format=csv sys-file-info.sps | sed '/Encoding/d /Created/d /Product/d '], [0], [dnl -File:,data.por -Label:,No label. -Variables:,5 -Cases:,Unknown -Type:,SPSS Portable File -Weight:,Not weighted. -Compression:,None - -Variable,Description,Position -VAR1,"Format: F1.0 -Measure: Scale -Role: Input -Display Alignment: Right -Display Width: 8 - -Value,Label -1,one",1 -VAR2,"Format: F1.0 -Measure: Scale -Role: Input -Display Alignment: Right -Display Width: 8 - -Value,Label -2,two",2 -VAR3,"Format: F1.0 -Measure: Scale -Role: Input -Display Alignment: Right -Display Width: 8 - -Value,Label -3,three",3 -VAR4,"Format: F1.0 -Measure: Scale -Role: Input -Display Alignment: Right -Display Width: 8 - -Value,Label -4,four",4 -VAR5,"Format: F1.0 -Measure: Scale -Role: Input -Display Alignment: Right -Display Width: 8 - -Value,Label -5,five",5 +Table: File Information +File,data.por +Variables,5 +Cases,Unknown +Type,SPSS Portable File +Weight,Not weighted +Compression,None + +Table: Variables +Name,Position,Measurement Level,Role,Width,Alignment,Print Format,Write Format +VAR1,1,Scale,Input,8,Right,F1.0,F1.0 +VAR2,2,Scale,Input,8,Right,F1.0,F1.0 +VAR3,3,Scale,Input,8,Right,F1.0,F1.0 +VAR4,4,Scale,Input,8,Right,F1.0,F1.0 +VAR5,5,Scale,Input,8,Right,F1.0,F1.0 + +Table: Value Labels +Variable Value,,Label +VAR1,1,one +VAR2,2,two +VAR3,3,three +VAR4,4,four +VAR5,5,five ]) AT_CLEANUP