X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fdata%2Fsys-file.at;h=6e49b783c4eaa29665cf24373c3c626a743f293a;hb=f9f8e7cd68da64c8299231531a55d79b02047a9a;hp=85ccfd8b495fb464030fd0e437f93fd853eca719;hpb=085dfff1c41d6ee305f00aa7177286ca8965efbc;p=pspp diff --git a/tests/data/sys-file.at b/tests/data/sys-file.at index 85ccfd8b49..6e49b783c4 100644 --- a/tests/data/sys-file.at +++ b/tests/data/sys-file.at @@ -1,9 +1,28 @@ +dnl PSPP - a program for statistical analysis. +dnl Copyright (C) 2017 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 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 You should have received a copy of the GNU General Public License +dnl along with this program. If not, see . +dnl AT_BANNER([system files]) # Also tests that long variable names are preserved by SAVE and GET. AT_SETUP([write and read numeric data]) AT_KEYWORDS([SAVE GET system file]) -AT_DATA([sysfile.sps], [dnl +for variant in 'UNCOMPRESSED $FL2' 'ZCOMPRESSED $FL3'; do + set $variant + compression=$1 magic=$2 + cat >sysfile.sps <sysfile.sps <) -Variable,Description,,Position -àéîöçxyzabc,Format: F8.2,,1 -,Measure: Scale,, -,Display Alignment: Right,, -,Display Width: 8,, -,1.00,éclair élan, -,Custom attributes:,, -,Atatürk,Düsseldorf Gewürztraminer, -roué,Provençal soupçon,,2 -,Format: A9,, -,Measure: Nominal,, -,Display Alignment: Left,, -,Display Width: 9,, -,abcdefghi,sauté précis, -croûton,Format: A1000,,3 -,Measure: Nominal,, -,Display Alignment: Left,, -,Display Width: 32,, +Variable,Description,Position +àéîöçxyzabc,"Format: F8.2 + +Value,Label +1.00,éclair élan + +Attribute,Value +Atatürk,Düsseldorf Gewürztraminer",1 +roué,"Label: Provençal soupçon +Format: A9 + +Value,Label +abcdefghi,sauté précis",2 +croûton,Format: A1000,3 Table: Custom data file attributes. Attribute,Value