How to run a simple test case

Dr. Matthias St. Pierre Matthias.St.Pierre at ncp-e.com
Wed Feb 9 11:30:40 UTC 2022


The README file in the test directory contains a detailed explanation.

https://github.com/openssl/openssl/blob/master/test/README.md

In a nutshell, you run `make test`, passing  `V=1` to turn on verbose output and `TESTS=...` to select one or more tests:

make V=1  TESTS=<pattern>  test


HTH,
Matthias




From: openssl-users <openssl-users-bounces at openssl.org> On Behalf Of Chenxinping via openssl-users
Sent: Wednesday, February 9, 2022 4:49 AM
To: openssl-users at openssl.org
Subject: How to run a simple test case

The config file have some ENV variable and will result fail to load the config file, How to run a simple test case?
Example:
./test/ssl_test ./test-runs/test_ssl_new/17-renegotiate.cnf.default
ERROR:  @ test/ssl_test.c:553
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20220209/2c27f8fb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7448 bytes
Desc: not available
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20220209/2c27f8fb/attachment-0001.bin>


More information about the openssl-users mailing list