From a57a80e21306046b4a04bab1593875d4c5e24706 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Wed, 4 Mar 2020 21:11:47 +0100 Subject: [PATCH] Restore full tls coverage to remaining scripts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Look for any other invocation of test scripts that was removed: look for a change that removes a line (`^-.*…`) containing one of the names of a test script (without its path because it may be used with a relative path). Look for `ssl-opt.sh` and `compat.sh`, as well any file in `tests/scripts` that only exists in tls. ``` git diff 'HEAD^{/^Merge}~1' HEAD --diff-filter=M -- . ':!library/error.c' ':!library/version_features.c' ':!programs/test/query_config.c' ':!visualc' ':!*.pdf' ':!*.der' | grep -E "^-.*($(comm -23 <(git ls-tree -r --name-only 'HEAD^{/^Merge}~1') <(git ls-tree -r --name-only $(git merge-base upstream-crypto/development 'HEAD^{/^Merge}^2')) | sed -n 's!^tests/scripts/!!p' | sed 's/\./\\./g' | tr '\n' '|')ssl-opt\.sh|compat\.sh)" | grep -v '^---' ``` This only turns up changes in `basic-in-docker.sh`. --- tests/scripts/basic-in-docker.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/scripts/basic-in-docker.sh b/tests/scripts/basic-in-docker.sh index 096f8edd8..37ed5ea50 100755 --- a/tests/scripts/basic-in-docker.sh +++ b/tests/scripts/basic-in-docker.sh @@ -42,6 +42,9 @@ for compiler in clang gcc; do run_in_docker -e CC=${compiler} make run_in_docker -e CC=${compiler} make test run_in_docker programs/test/selftest + run_in_docker -e OSSL_NO_DTLS=1 tests/compat.sh + run_in_docker tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl' run_in_docker tests/scripts/test-ref-configs.pl run_in_docker tests/scripts/curves.pl + run_in_docker tests/scripts/key-exchanges.pl done