mbedtls/tests/scripts
Gilles Peskine 7bf5205581 More robust handling of excluded files
Don't try to enumerate excluded files. List included files, and remove names
from the list if they match an excluded-file pattern.

This resolves the problem that the script could get into an infinite loop
due to the use of recursive globbing. Unfortunately, Python's recursive
globs follows symbolic links to directories, which leads to an infinite loop
if a symbolic link points to an ancestor of the directory that contains it.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-09-27 20:01:24 +02:00
..
all-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
all.sh Remove MBEDTLS_TLS_DEFAULT_ALLOW_SHA1_IN_CERTIFICATES option. 2021-09-06 12:18:53 +02:00
analyze_outcomes.py Document the fields of TestCasesOutcomes 2020-06-26 18:31:26 +02:00
basic-build-test.sh Fix mixup about the directory containing the success indicator file 2021-07-22 19:45:12 +02:00
basic-in-docker.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
check_files.py check_files.py: pass mypy 2020-12-10 21:30:01 +01:00
check_names.py More robust handling of excluded files 2021-09-27 20:01:24 +02:00
check_test_cases.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
check-doxy-blocks.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
check-generated-files.sh Do support multiple files generated from the same script 2021-05-25 19:35:17 +02:00
check-names.sh Make check-names.sh accept any grep 2021-04-07 15:01:28 +01:00
check-python-files.sh mypy: require at least version 0.780 2021-01-20 12:03:24 +01:00
curves.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
depends-hashes.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
depends-pkalgs.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
docker_env.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
doxygen.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_ctr_drbg.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_gcm_decrypt.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_gcm_encrypt.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
gen_pkcs1_v21_sign_verify.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate_psa_tests.py Speed up the generation of storage format test cases 2021-07-06 21:08:46 +02:00
generate_test_code.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
generate-afl-tests.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
key-exchanges.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
list_internal_identifiers.py Copy check_names.py and friends from development 2021-09-27 20:01:08 +02:00
list-enum-consts.pl Scan library for enums in list-enum-consts.sh 2021-04-07 14:48:14 +01:00
list-identifiers.sh Copy check_names.py and friends from development 2021-09-27 20:01:08 +02:00
list-macros.sh tests: psa: Add mbedtls/MBEDTLS prefix to test driver symbols 2021-05-05 09:02:13 +02:00
list-symbols.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
mbedtls_test.py mbedtls_test.py: Tell mypy to ignore mbed_host_tests 2020-12-10 21:30:14 +01:00
psa_collect_statuses.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
recursion.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
run-test-suites.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
scripts_path.py Allow tests/scripts/foo.py to import from scripts 2020-12-10 23:16:03 +01:00
set_psa_test_dependencies.py Update PSA crypto test dependencies 2021-03-24 09:26:44 +01:00
tcp_client.pl Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test_config_script.py Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test_generate_test_code.py test_generate_test_code: remove Python 2 compatibility code 2020-12-10 21:30:08 +01:00
test_psa_constant_names.py Use InputsForTest in generate_psa_tests 2021-05-25 19:31:21 +02:00
test_zeroize.gdb Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00
test-ref-configs.pl Remove config-psa-crypto.h 2021-05-05 17:59:15 +02:00
travis-log-failure.sh Update copyright notices to use Linux Foundation guidance 2020-08-19 10:35:41 +02:00