tests: tempdirs with restrictive permissions are cleaned correctly
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 16 Feb 2011 19:43:22 +0000 (20:43 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 21 Feb 2011 12:15:52 +0000 (13:15 +0100)
commite6ca61c1a1bf601cfde4b67c33fe861cafff7450
tree2fc86ebfb878c752df7cc48fdd3c4d0d77b831b9
parenta118732d1138b169e3c41759b8e3e03945994172
tests: tempdirs with restrictive permissions are cleaned correctly

Before this change, the removal of a temporary test directory
containing subdirectories with restrictive permissions (such as
'r--r--r--') could fail.

* tests/defs: Ensure that all the subdirectories of a temporary
test directory have the 'read', 'write' and 'execute' bits set,
before trying to remove it with `rm -rf'.
* tests/Makefile.am (clean-local-check): Likewise.
ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/defs.in