Change the order of the reported NPAR values in two sample related tests.
[pspp-builds.git] / tests / language / dictionary / rename-variables.at
1 AT_BANNER([RENAME VARIABLES])
2
3 AT_SETUP([RENAME VARIABLES])
4 AT_DATA([rename-variables.sps], [dnl
5 DATA LIST LIST /brakeFluid * y * .
6 BEGIN DATA.
7 1 3
8 2 3
9 3 3
10 4 3
11 END DATA.
12
13 LIST.
14
15 RENAME VARIABLES (brakeFluid=applecarts).
16
17 LIST.
18
19 SAVE /OUTFILE='rename.sav'.
20 ])
21 AT_CHECK([pspp -o pspp.csv rename-variables.sps])
22 AT_CHECK([cat pspp.csv], [0], [dnl
23 Table: Reading free-form data from INLINE.
24 Variable,Format
25 brakeFluid,F8.0
26 y,F8.0
27
28 Table: Data List
29 brakeFluid,y
30 1.00,3.00
31 2.00,3.00
32 3.00,3.00
33 4.00,3.00
34
35 Table: Data List
36 applecarts,y
37 1.00,3.00
38 2.00,3.00
39 3.00,3.00
40 4.00,3.00
41 ])
42 AT_CHECK([grep '[bB][rR][aA][kK][eE]' rename.sav], [1], [ignore-nolog])
43 AT_CLEANUP