Test component with malloc(0) returning NULL: run some ssl tests

This commit is contained in:
Gilles Peskine 2020-02-11 18:26:34 +01:00
parent c4ef7a9de3
commit 765d240ca6

View File

@ -1196,6 +1196,14 @@ component_test_malloc_0_null () {
# Just the calloc selftest. "make test" ran the others as part of the # Just the calloc selftest. "make test" ran the others as part of the
# test suites. # test suites.
if_build_succeeded programs/test/selftest calloc if_build_succeeded programs/test/selftest calloc
msg "test ssl-opt.sh: malloc(0) returns NULL (ASan+UBSan build)"
# Run a subset of the tests. The choice is a balance between coverage
# and time (including time indirectly wasted due to flaky tests).
# The current choice is to skip tests whose description includes
# "proxy", which is an approximation of skipping tests that use the
# UDP proxy, which tend to be slower and flakier.
if_build_succeeded tests/ssl-opt.sh -e 'proxy'
} }
component_test_make_shared () { component_test_make_shared () {