123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- AT_SETUP([remove-files with compression])
- AT_KEYWORDS([create remove-files remfiles01 gzip])
- unset TAR_OPTIONS
- AT_CHECK([
- AT_UNPRIVILEGED_PREREQ
- AT_GZIP_PREREQ
- AT_SIGPIPE_PREREQ
- AT_SORT_PREREQ
- mkdir dir
- cd dir
- genfile
- chmod 0 a
- genfile
- mkdir c
- (tar -c -f a -z
- EC=$?
- sed -n '/(child)/p' err >&2
- rm err
- find . | sort
- exit $EC
- ],
- [2],
- [.
- ./a
- ./b
- ./c
- ],
- [tar (child): a: Cannot open: Permission denied
- tar (child): Error is not recoverable: exiting now
- ])
- AT_CLEANUP
|