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 958B

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