diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-16 12:18:43 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-16 13:34:25 +0200 |
commit | 74017b56cbadf675de023f7bee6a0b18877c0a74 (patch) | |
tree | 1ba12b491eaa89e35996ae2a04fda42030bec817 /gen-testsuite-part | |
parent | 48fc2d83362b4ad62e9e88dfec1cba6b934b8963 (diff) | |
download | automake-74017b56cbadf675de023f7bee6a0b18877c0a74.tar.gz |
tests: remove exec bit from all of them ('micro' branch)
It gives the impression that they are directly runnable, as with
"./t/foo.sh", but it has been a while since that was the case. Today,
tests are runnable only through "make check" or "./runtest".
This change is for the 'micro' branch (automake 1.13.2a). It will
soon be followed by similar patches for the 'maint' branch (automake
1.13a) and the 'master' branch (automake 1.99a).
* t/*.sh, t/*.tap: Remove executable bit.
* maint.mk (sc_tests_executable): Remove.
(syntax_check_rules): Adjust.
* gen-testsuite-part: Set permissions of generated tests to
'444' (-r--r--r--), rather than 555 (-r-xr-xr-x).
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'gen-testsuite-part')
-rwxr-xr-x | gen-testsuite-part | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gen-testsuite-part b/gen-testsuite-part index 93d63aaf2..4584d2b8e 100755 --- a/gen-testsuite-part +++ b/gen-testsuite-part @@ -313,7 +313,7 @@ while (my ($wrapped_test, $setup_list) = each %wrapper_setups) atomic_write $wrapper_test, sub { write_wrapper_script $_[0], $wrapped_test, $setup }, - 0555; + 0444; # The generated test works by sourcing the original test, so that # it has to be re-run every time that changes ... print "$wbase.log: $wrapped_test\n"; @@ -391,7 +391,7 @@ foreach my $lt (TRUE, FALSE) exit \$? EOF }, - 0555); + 0444); } } |