1 AT_BANNER([encrypted files])
3 AT_SETUP([decrypt an encrypted system file])
4 AT_KEYWORDS([system file decrypt pspp-convert])
5 AT_CHECK([pspp-convert $srcdir/data/hotel-encrypted.sav hotel.sav -p pspp])
6 AT_CHECK([pspp-convert hotel.sav hotel.csv])
7 AT_CHECK([cat hotel.csv], [0], [dnl
29 AT_SETUP([decrypt an encrypted syntax file])
30 AT_KEYWORDS([syntax file decrypt pspp-convert])
31 AT_CHECK([pspp-convert $srcdir/data/test-encrypted.sps test.sps -p password])
33 # The sample file is not ideal: lines end in CRLF and its last line
34 # lacks a new-line, so "sed" and "echo" make it easier to work with.
35 AT_CHECK([tr -d "\r" < test.sps; echo], [0], [dnl
36 * Encoding: windows-1252.
37 DATA LIST LIST /name (a25) quantity (f8).
47 DESCRIPTIVES /quantity