X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fdata%2Fpor-file.at;h=fb73a50ee20bb094c8854de9e0920153e2e78135;hb=8596d6eb21e40ffaf9321d1cb779333de3126b50;hp=1b5fc2117422ee7c6f52c5b9b08ce426516e320b;hpb=5cab4cf3322f29c0ed7134d23740e07382914f20;p=pspp diff --git a/tests/data/por-file.at b/tests/data/por-file.at index 1b5fc21174..fb73a50ee2 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 @@ -100,17 +100,18 @@ EXPORT OUTFILE='data.por'. AT_CHECK([pspp -O format=csv export.sps]) AT_DATA([import.sps], [dnl IMPORT FILE='data.por'. +EXECUTE. DISPLAY DICTIONARY. LIST. ]) AT_CHECK([pspp -O format=csv import.sps], [0], [dnl Table: Variables -Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values -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, +Name,Position,Measurement Level,Role,Width,Alignment,Print Format,Write Format +VAR1,1,Nominal,Input,8,Right,F1.0,F1.0 +VAR2,2,Nominal,Input,8,Right,F1.0,F1.0 +VAR3,3,Nominal,Input,8,Right,F1.0,F1.0 +VAR4,4,Nominal,Input,8,Right,F1.0,F1.0 +VAR5,5,Nominal,Input,8,Right,F1.0,F1.0 Table: Value Labels Variable Value,,Label @@ -134,7 +135,6 @@ AT_CHECK([pspp -O format=csv sys-file-info.sps | sed '/Encoding/d '], [0], [dnl Table: File Information File,data.por -Label, Variables,5 Cases,Unknown Type,SPSS Portable File @@ -142,12 +142,12 @@ Weight,Not weighted Compression,None Table: Variables -Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values -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, +Name,Position,Measurement Level,Role,Width,Alignment,Print Format,Write Format +VAR1,1,Unknown,Input,8,Right,F1.0,F1.0 +VAR2,2,Unknown,Input,8,Right,F1.0,F1.0 +VAR3,3,Unknown,Input,8,Right,F1.0,F1.0 +VAR4,4,Unknown,Input,8,Right,F1.0,F1.0 +VAR5,5,Unknown,Input,8,Right,F1.0,F1.0 Table: Value Labels Variable Value,,Label