1dnl PSPP - a program for statistical analysis.
2dnl Copyright (C) 2017 Free Software Foundation, Inc.
3dnl
4dnl This program is free software: you can redistribute it and/or modify
5dnl it under the terms of the GNU General Public License as published by
6dnl the Free Software Foundation, either version 3 of the License, or
7dnl (at your option) any later version.
8dnl
9dnl This program is distributed in the hope that it will be useful,
10dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
11dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12dnl GNU General Public License for more details.
13dnl
14dnl You should have received a copy of the GNU General Public License
15dnl along with this program.  If not, see <http://www.gnu.org/licenses/>.
16dnl
17AT_BANNER([FILE HANDLE])
18
19AT_SETUP([FILE HANDLE])
20AT_DATA([wiggle.txt], [dnl
211
222
235
24109
25])
26AT_DATA([file-handle.sps], [dnl
27FILE HANDLE myhandle /NAME='wiggle.txt'.
28DATA LIST LIST FILE=myhandle /x *.
29LIST.
30])
31AT_CHECK([pspp -O format=csv file-handle.sps], [0], [dnl
32Table: Reading free-form data from myhandle.
33Variable,Format
34x,F8.0
35
36Table: Data List
37x
381.00
392.00
405.00
41109.00
42])
43AT_CLEANUP
44
45