From bc0ceab7b9a6b5c7f811bbf4c487cfe51d8398e5 Mon Sep 17 00:00:00 2001 From: Dekedro Date: Mon, 25 Apr 2022 12:44:08 +0000 Subject: [PATCH] Fix grep regex in tests --- tests/non-executable-files-with-executable-bit.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/non-executable-files-with-executable-bit.test b/tests/non-executable-files-with-executable-bit.test index d1edfc99..443067c5 100755 --- a/tests/non-executable-files-with-executable-bit.test +++ b/tests/non-executable-files-with-executable-bit.test @@ -4,8 +4,8 @@ echo -n "testing files for executable bits that shouldn't be executable ... " find * -executable -type f | \ grep -vE "compile|config\.(guess|status|sub)|configure|depcomp|install-sh|libtool|missing" | # Ignore autotools output \ - grep -vE "*\.test|tests/common|src(/\.libs)?/(e?speak-ng|.*\.so\..*)|src/\.libs/lt-espeak-ng|android" | # Ignore built programs and libraries \ - grep -vE "*.\.sh|tools/emoji" | # Ignore helper scripts \ + grep -vE ".*\.test|tests/common|src(/\.libs)?/(e?speak-ng|.*\.so\..*)|src/\.libs/lt-espeak-ng|android" | # Ignore built programs and libraries \ + grep -vE ".*\.sh|tools/emoji" | # Ignore helper scripts \ grep -vE "src/ucd-tools/tools/(.*\.py|mkencodingtable)" | # Ignore ucd-tools helper scripts \ grep -vE "tests/.libs|src/ucd-tools/tests/print(ucd|c)data(_cpp)?" | # Ignore ucd-tools test programs \ tee tests/non-executable-files-with-executable-bit.check > /dev/null