diff --git a/.ci/testcases/test_directory_structure.py b/.ci/testcases/test_directory_structure.py index 32e8a4a94..822d9fb44 100644 --- a/.ci/testcases/test_directory_structure.py +++ b/.ci/testcases/test_directory_structure.py @@ -30,7 +30,7 @@ def test_directories(): # Ensure no file in pmaports are executable. # see https://gitlab.com/postmarketOS/pmaports/-/issues/593. def test_executable_files(): - for file in glob.iglob("**/*", recursive=True): + for file in glob.iglob("[!temp]**/**/*", recursive=True): if os.path.isdir(file) or os.path.islink(file): continue # still check other less common inode types