summaryrefslogtreecommitdiff
path: root/cpan/Module-Build
diff options
context:
space:
mode:
authorDavid Golden <dagolden@cpan.org>2010-07-24 00:44:40 -0700
committerDavid Golden <dagolden@cpan.org>2010-07-24 01:54:33 -0700
commitff906f87ce1519416ddfff76ae8e1d8fa42ed082 (patch)
tree2a65f8a9197fb1f04777cc1f63b0f21379d67662 /cpan/Module-Build
parent2a6dc37471bea77f0c24fd1fe90c598a270c9968 (diff)
downloadperl-ff906f87ce1519416ddfff76ae8e1d8fa42ed082.tar.gz
Global executable bit cleanup
When porting/makerel runs, all files copied into the directory for the tarball have the executable bit stripped and then only a specific set of files have the executable bit restored. There are many files in the repo that have the executable bit set in the repo that will be stripped. So that the state of files in the repo is as close as possible to the state of files in the release tarball, the executable bit has been stripped from such files. In one recent case, a file added from a dual-life module needed the executable bit set. Because it had the bit in the repo but was not listed in makerel to get an executable bit, tests using it passed in the repo and failed in the tarball. This commit refactors the list into a new file, Porting/exec-bit.txt and add tests to detect a mismatch between files listed there and actual executable bits in the repo.
Diffstat (limited to 'cpan/Module-Build')
-rw-r--r--[-rwxr-xr-x]cpan/Module-Build/scripts/config_data0
-rw-r--r--[-rwxr-xr-x]cpan/Module-Build/t/compat/exit.t0
2 files changed, 0 insertions, 0 deletions
diff --git a/cpan/Module-Build/scripts/config_data b/cpan/Module-Build/scripts/config_data
index d08a5f3b1f..d08a5f3b1f 100755..100644
--- a/cpan/Module-Build/scripts/config_data
+++ b/cpan/Module-Build/scripts/config_data
diff --git a/cpan/Module-Build/t/compat/exit.t b/cpan/Module-Build/t/compat/exit.t
index 3672c938c3..3672c938c3 100755..100644
--- a/cpan/Module-Build/t/compat/exit.t
+++ b/cpan/Module-Build/t/compat/exit.t