X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fdata%2Fsys-file.at;h=86487173a066e8b5405d1924f802beb32d5ff988;hb=bcaaaebdde43e26a8d27c53590f34bf29eb56406;hp=e260f0eada3aa912ae8ff92497ba0b885af3c1a0;hpb=5cab4cf3322f29c0ed7134d23740e07382914f20;p=pspp diff --git a/tests/data/sys-file.at b/tests/data/sys-file.at index e260f0eada..86487173a0 100644 --- a/tests/data/sys-file.at +++ b/tests/data/sys-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 @@ -90,10 +90,10 @@ EOF AT_CHECK([pspp -o pspp.csv sysfile.sps]) AT_CHECK([cat pspp.csv], [0], [dnl Table: Variables -Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values -s1,1,,Nominal,Input,9,Left,A9,A9,"""0 """ -s2,2,,Nominal,Input,9,Left,A9,A9,"""12 ""; ""123 """ -s3,3,,Nominal,Input,9,Left,A9,A9,"""1234 ""; ""12345 ""; ""12345678""" +Name,Position,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values +s1,1,Nominal,Input,9,Left,A9,A9,"""0 """ +s2,2,Nominal,Input,9,Left,A9,A9,"""12 ""; ""123 """ +s3,3,Nominal,Input,9,Left,A9,A9,"""1234 ""; ""12345 ""; ""12345678""" Table: Value Labels Variable Value,,Label @@ -337,11 +337,11 @@ LIST. AT_CHECK([pspp -o pspp.csv sys-file.sps]) AT_CHECK([cat pspp.csv], [0], [dnl Table: Variables -Name,Position,Print Format,Write Format,Missing Values -N,1,F8.2,F8.2, -A255,2,A255,A255, -A258,3,A258,A258, -A2000,4,A2000,A2000, +Name,Position,Print Format,Write Format +N,1,F8.2,F8.2 +A255,2,A255,A255 +A258,3,A258,A258 +A2000,4,A2000,A2000 Table: Data List N,A255,A258,A2000 @@ -360,11 +360,11 @@ LIST. AT_CHECK([pspp -o pspp.csv sys-file.sps]) AT_CHECK([cat pspp.csv], [0], [dnl Table: Variables -Name,Position,Print Format,Write Format,Missing Values -vl255,1,A255,A255, -vl256,2,A256,A256, -vl1335,3,A1335,A1335, -vl2000,4,A2000,A2000, +Name,Position,Print Format,Write Format +vl255,1,A255,A255 +vl256,2,A256,A256 +vl1335,3,A1335,A1335 +vl2000,4,A2000,A2000 Table: Data List vl255,vl256,vl1335,vl2000 @@ -386,9 +386,9 @@ m4_define([VLS_WRITE], vls_gen_data AT_DATA([save.sps], [dnl DATA LIST FIXED NOTABLE FILE='data.txt' - /a 2-11 (a) - b (a256) - c (a200) + /a 2-11 (a) + b (a256) + c (a200) d (a32767). SAVE OUTFILE='foo.sav' /$1. @@ -400,7 +400,7 @@ GET FILE='foo.sav'. DISPLAY VARIABLES. PRINT OUTFILE='out.txt' - /a (a10) b (a256) c (a200) + /a (a10) b (a256) c (a200) d (a32767) . @@ -409,11 +409,11 @@ EXECUTE. AT_CHECK([pspp -o pspp.csv get.sps]) AT_CHECK([cat pspp.csv], [0], [dnl Table: Variables -Name,Position,Print Format,Write Format,Missing Values -a,1,A10,A10, -b,2,A256,A256, -c,3,A200,A200, -d,4,A32767,A32767, +Name,Position,Print Format,Write Format +a,1,A10,A10 +b,2,A256,A256 +c,3,A200,A200 +d,4,A32767,A32767 ]) AT_CLEANUP]) @@ -469,10 +469,10 @@ jalapeño vicuña. (Entered )" Table: Variables -Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format,Missing Values -àéîöçxyzabc,1,,Scale,Input,8,Right,F8.2,F8.2, -roué,2,Provençal soupçon,Nominal,Input,9,Left,A9,A9, -croûton,3,,Nominal,Input,32,Left,A1000,A1000, +Name,Position,Label,Measurement Level,Role,Width,Alignment,Print Format,Write Format +àéîöçxyzabc,1,,Scale,Input,8,Right,F8.2,F8.2 +roué,2,Provençal soupçon,Nominal,Input,9,Left,A9,A9 +croûton,3,,Nominal,Input,32,Left,A1000,A1000 Table: Value Labels Variable Value,,Label