1 AT_BANNER([PERMISSIONS])
3 AT_SETUP([PERMISSIONS])
4 AT_DATA([foobar], [Hello
8 AT_CHECK([ls -l foobar], [0], [stdout])
9 AT_CHECK([sed 's/^\(..........\).*/\1/' stdout], [0], [-rw-rw-rw-
12 AT_DATA([permissions.sps], [PERMISSIONS /FILE='foobar' PERMISSIONS=READONLY.
14 AT_CHECK([pspp -O format=csv permissions.sps])
15 AT_CHECK([ls -l foobar], [0], [stdout])
16 AT_CHECK([sed 's/^\(..........\).*/\1/' stdout], [0], [-r--r--r--
19 AT_DATA([permissions.sps], [PERMISSIONS /FILE='foobar' PERMISSIONS=WRITEABLE.
21 AT_CHECK([pspp -O format=csv permissions.sps])
22 AT_CHECK([ls -l foobar], [0], [stdout])
23 AT_CHECK([sed 's/^\(..........\).*/\1/' stdout], [0], [-rw-r--r--