eSpeak NG is an open source speech synthesizer that supports more than hundred languages and accents.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

non-executable-files-with-executable-bit.test 1.1KB

12345678910111213141516171819202122232425
  1. #!/bin/sh
  2. echo -n "testing files for executable bits that shouldn't be executable ... "
  3. cd $(dirname $0)/..
  4. find * -executable -type f | \
  5. grep -vE "compile|config\.(guess|status|sub)|configure|depcomp|install-sh|libtool|missing" | # Ignore autotools output \
  6. grep -vE "build" | # Ignore cmake output \
  7. grep -vE ".*\.test|tests/common|src(/\.libs)?/(e?speak-ng|.*\.so\..*)|src/\.libs/lt-espeak-ng|android" | # Ignore built programs and libraries \
  8. grep -vE ".*\.sh|tools/emoji" | # Ignore helper scripts \
  9. grep -vE "src/ucd-tools/tools/(.*\.py|mkencodingtable)" | # Ignore ucd-tools helper scripts \
  10. grep -vE "tests/.libs|src/ucd-tools/tests/print(ucd|c)data(_cpp)?" | # Ignore ucd-tools test programs \
  11. grep -vE "tests/fuzzing/.*\.py" | #Ignore fuzzing python helper script
  12. grep -vE "tests/fuzzing/.*\.sh" | #Ignore fuzzing python helper script
  13. tee tests/non-executable-files-with-executable-bit.check > /dev/null
  14. if [ -s tests/non-executable-files-with-executable-bit.check ] ; then
  15. echo "found"
  16. cat tests/non-executable-files-with-executable-bit.check
  17. false
  18. else
  19. rm tests/non-executable-files-with-executable-bit.check
  20. echo "none found"
  21. true
  22. fi