Skip to content

Commit ea76eaf

Browse files
committed
test_suite: Use the portable find -perm -111 to find executables.
find -executable is only available on GNU. find -perm -111 finds all executable files by their mode (although it won't find executable files in access control lists on Linux, which isn't a problem in this case)
1 parent d755436 commit ea76eaf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec/test_app/test_suite.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22

33
cd $(dirname $0)
44

5-
find scripts -type f -executable -exec '{}' \;
6-
5+
find scripts -type f -perm -111 -exec bash '{}' \;

0 commit comments

Comments
 (0)