Skip to content

Commit

Permalink
test_suite: Use the portable find -perm -111 to find executables.
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
smspillaz committed Mar 24, 2015
1 parent d755436 commit ea76eaf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/test_app/test_suite.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@

cd $(dirname $0)

find scripts -type f -executable -exec '{}' \;

find scripts -type f -perm -111 -exec bash '{}' \;

0 comments on commit ea76eaf

Please sign in to comment.