summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2015-03-04 23:25:57 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2015-03-05 16:54:52 +0100
commitc18b296e83f659372cd30d24d1365e4b0b046964 (patch)
tree6c9615f7f23fa46cabc7a2531c598002d24abccf /cfg.mk
parente00571921136ceca2e60021eb7734c27cabf854b (diff)
downloadcoreutils-c18b296e83f659372cd30d24d1365e4b0b046964.tar.xz
maint: be less strict about executable permissions of tests
With "umask 0027" or even "umask 0077", the git clone of coreutils does not have the executable bit set for 'other' (or 'group). Therefore, "make syntax-check" would fail. * cfg.mk (sc_tests_executable): Change the -perm argument of find(1) to only print the names of the files which are not executable by the user, rather than insisting on ugo+x (octal 111).
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index ab0b8a4b6..d65af2726 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -118,7 +118,7 @@ sc_tests_list_consistency:
sc_tests_executable:
@test_extensions_rx=`echo $(TEST_EXTENSIONS) \
| sed -e "s/ / -o -name */g" -e "s/^/-name */"`; \
- find tests/ \( $$test_extensions_rx \) \! -perm -111 -print \
+ find tests/ \( $$test_extensions_rx \) \! -perm -u+x -print \
| sed -e "s/^/$(ME): Please make test executable: /" | grep . \
&& exit 1; :