coverage: dist-hook and distcheck-hook can modify file permission
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 24 Feb 2012 17:34:04 +0000 (18:34 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 25 Feb 2012 17:31:04 +0000 (18:31 +0100)
commit1e839f9acc95c0b4c4ab602f28e29d9413e084ce
tree26c829570d12b0d28d3a5168b13992be5c9e1229
parent06b901795fcb70182e1427b37e104d2a8e1524c4
coverage: dist-hook and distcheck-hook can modify file permission

See automake bug#10878.

* tests/dist-hook-perms.test: New test, checking that the user can
use the 'dist-hook' target to modify permissions of distributed
files before putting them in the distribution tarball.
* tests/distcheck-writable-srcdir.test: New test, checking that the
user can use 'distcheck-hook' to ensure his packages is built by
"make distcheck" with a writable srcdir.  This goes against the GNU
Coding Standards, but some package authors might not care about
them too much, and it's nice to support their use case too.
* tests/list-of-tests.mk: Add them.
tests/distcheck-writable-srcdir.test [new file with mode: 0755]
tests/disthook-perms.test [new file with mode: 0755]
tests/list-of-tests.mk