T-TEST: Fix use-after-free with TEMPORARY and independent samples.
[pspp-builds.git] / tests / language / dictionary / variable-display.at
1 AT_BANNER([variable display attributes])
2
3 AT_SETUP([variable display attribute commands])
4 AT_DATA([var-display.sps], [dnl
5 DATA LIST FREE /x y z.
6 VARIABLE ALIGNMENT x (LEFT)/y (RIGHT)/z (CENTER).
7 VARIABLE WIDTH x (10)/y (12)/z (14).
8 VARIABLE LEVEL x (SCALE)/y (ORDINAL)/z (NOMINAL).
9 DISPLAY DICTIONARY.
10 ])
11 AT_CHECK([pspp -o pspp.csv var-display.sps])
12 AT_CHECK([cat pspp.csv], [0], [dnl
13 Variable,Description,,Position
14 x,Format: F8.2,,1
15 ,Measure: Scale,,
16 ,Display Alignment: Left,,
17 ,Display Width: 10,,
18 y,Format: F8.2,,2
19 ,Measure: Ordinal,,
20 ,Display Alignment: Right,,
21 ,Display Width: 12,,
22 z,Format: F8.2,,3
23 ,Measure: Nominal,,
24 ,Display Alignment: Center,,
25 ,Display Width: 14,,
26 ])
27 AT_CLEANUP