diff options
| author | Kenjiro Nakayama <nakayamakenjiro@gmail.com> | 2026-07-10 22:01:53 +0900 |
|---|---|---|
| committer | Kenjiro Nakayama <nakayamakenjiro@gmail.com> | 2026-07-10 23:22:00 +0900 |
| commit | b46676e30dd135dfa886d4ed8098a939b2e5e1de (patch) | |
| tree | 8cbe125730c103aaabba46c70bb3c0bf07c2a0b1 /update.sh | |
| parent | 62858a6ba717bcadbcbf9135ba5873f017162c7d (diff) | |
| download | portable-b46676e30dd135dfa886d4ed8098a939b2e5e1de.tar.gz portable-b46676e30dd135dfa886d4ed8098a939b2e5e1de.tar.bz2 portable-b46676e30dd135dfa886d4ed8098a939b2e5e1de.zip | |
hook up x509/verify regress test
Copy regress/lib/libcrypto/x509/verify.c as x509_verify.c
to avoid the basename collision with x509/bettertls/verify.c
when regress tests are flattened into tests.
Also copy the libcrypto cert test data and make-dir-roots.pl,
add a wrapper to prepare the CApath roots directory, and
register the test for both autotools and CMake.
Refs #1273
Diffstat (limited to 'update.sh')
| -rwxr-xr-x | update.sh | 10 |
1 files changed, 10 insertions, 0 deletions
| @@ -334,10 +334,20 @@ touch tests/empty.c | |||
| 334 | for i in `find $libcrypto_regress -name '*.[ch]'`; do | 334 | for i in `find $libcrypto_regress -name '*.[ch]'`; do |
| 335 | $CP "$i" tests | 335 | $CP "$i" tests |
| 336 | done | 336 | done |
| 337 | # x509/verify.c collides with x509/bettertls/verify.c when flattened. | ||
| 338 | $CP $libcrypto_regress/x509/verify.c tests/x509_verify.c | ||
| 337 | $CP $libcrypto_regress/evp/evptests.txt tests | 339 | $CP $libcrypto_regress/evp/evptests.txt tests |
| 338 | $CP $libcrypto_regress/aead/*.txt tests | 340 | $CP $libcrypto_regress/aead/*.txt tests |
| 339 | $CP $libcrypto_regress/ct/ctlog.conf tests | 341 | $CP $libcrypto_regress/ct/ctlog.conf tests |
| 340 | $CP $libcrypto_regress/ct/*.crt tests | 342 | $CP $libcrypto_regress/ct/*.crt tests |
| 343 | $CP $libcrypto_regress/x509/make-dir-roots.pl tests | ||
| 344 | rm -rf tests/certs | ||
| 345 | mkdir -p tests/certs | ||
| 346 | for i in $libcrypto_regress/certs/[0-9]*; do | ||
| 347 | if [ -d "$i" ]; then | ||
| 348 | $CP -R "$i" tests/certs | ||
| 349 | fi | ||
| 350 | done | ||
| 341 | $CP $libcrypto_regress/x509/policy/*.pem tests | 351 | $CP $libcrypto_regress/x509/policy/*.pem tests |
| 342 | $CP $libcrypto_regress/mlkem/*.txt tests | 352 | $CP $libcrypto_regress/mlkem/*.txt tests |
| 343 | 353 | ||
