<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:宋体;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@宋体";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:微软雅黑;
        panose-1:2 11 5 3 2 2 4 2 2 4;}
@font-face
        {font-family:"\@微软雅黑";
        panose-1:2 11 5 3 2 2 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Thanks for your information,  simple test case means some specific test case.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Some  error reported from some specific test case  in case of “make V=1 TESTS='test_ssl_new*' test”, the error information could not help to local the issue, So I need run and debug the specific
 test case.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">Error information:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">../../util/wrap.pl /usr/bin/perl -I ../../util/perl ../../test/generate_ssl_tests.pl ../../test/ssl-tests/17-renegotiate.cnf.in none > 17-renegotiate.cnf.none => 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">    ok 1 - Getting output from generate_ssl_tests.pl.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">    ok 2 - Comparing generated 17-renegotiate.cnf.none with ../../test/ssl-tests/17-renegotiate.cnf.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">        # Subtest: ../../test/ssl_test<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">        1..1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # Subtest: test_handshake<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            1..17<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 1 - iteration 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 2 - iteration 2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 3 - iteration 3<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 4 - iteration 4<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 5 - iteration 5<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 6 - iteration 6<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 7 - iteration 7<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 8 - iteration 8<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 9 - iteration 9<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 10 - iteration 10<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 11 - iteration 11<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # ERROR: (int) 'peer->status == PEER_RETRY' failed @ test/helpers/handshake.c:868<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # [2] compared to [1]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # ERROR: (int) 'result->result == test_ctx->expected_result' failed @ test/ssl_test.c:36<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # [3] compared to [1]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # INFO:  @ test/ssl_test.c:37<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # ExpectedResult mismatch: expected ServerFail, got InternalError.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # OPENSSL_TEST_RAND_ORDER=1644408281<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            not ok 12 - iteration 12<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 13 - iteration 13<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # ERROR: (int) 'peer->status == PEER_RETRY' failed @ test/helpers/handshake.c:868<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # [2] compared to [1]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # ERROR: (int) 'result->result == test_ctx->expected_result' failed @ test/ssl_test.c:36<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # [3] compared to [2]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # INFO:  @ test/ssl_test.c:37<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # ExpectedResult mismatch: expected ClientFail, got InternalError.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # OPENSSL_TEST_RAND_ORDER=1644408281<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            not ok 14 - iteration 14<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # ERROR: (int) 'result->server_alert_sent == result->server_alert_received' failed @ test/ssl_test.c:66<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # [552] compared to [0]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # INFO:  @ test/ssl_test.c:68<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            # Server sent alert handshake failure but client received no alert.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 15 - iteration 15<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 16 - iteration 16<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">            ok 17 - iteration 17<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">        # OPENSSL_TEST_RAND_ORDER=1644408281<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">        not ok 1 - test_handshake<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="text-align:left"><b><span style="font-size:11.0pt;font-family:"微软雅黑",sans-serif">发件人<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"微软雅黑",sans-serif"> Dr. Matthias St. Pierre
 [mailto:Matthias.St.Pierre@ncp-e.com] <br>
</span><b><span style="font-size:11.0pt;font-family:"微软雅黑",sans-serif">发送时间<span lang="EN-US">:</span></span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"微软雅黑",sans-serif"> 2022</span><span style="font-size:11.0pt;font-family:"微软雅黑",sans-serif">年<span lang="EN-US">2</span>月<span lang="EN-US">9</span>日<span lang="EN-US">
 19:31<br>
</span><b>收件人<span lang="EN-US">:</span></b><span lang="EN-US"> Chenxinping <kan.chen@huawei.com>; openssl-users@openssl.org<br>
</span><b>主题<span lang="EN-US">:</span></b><span lang="EN-US"> RE: How to run a simple test case<o:p></o:p></span></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">The README file in the test directory contains a detailed explanation.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><a href="https://github.com/openssl/openssl/blob/master/test/README.md">https://github.com/openssl/openssl/blob/master/test/README.md</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">In a nutshell, you run `make test`, passing  `V=1` to turn on verbose output and `TESTS=…` to select one or more tests:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="text-indent:35.4pt"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">make V=1  TESTS=<pattern>  test<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">HTH,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">Matthias<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<p><span lang="DE" style="font-size:10.0pt;font-family:"Calibri",sans-serif"> <o:p></o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0" width="0" style="width:465.0pt">
<tbody>
<tr style="height:18.75pt">
<td width="205" valign="top" style="width:128.25pt;padding:.75pt .75pt .75pt .75pt;height:18.75pt">
<p class="MsoNormal" align="left" style="text-align:left"><b><span lang="EN-US" style="font-size:11.0pt"><img border="0" width="200" height="58" id="_x0000_i1025" src="cid:image001.png@01D81E09.A2DEA9B0" alt="NCP engingeering GmbH"></span></b><span lang="EN-US" style="font-size:11.0pt"><o:p></o:p></span></p>
</td>
<td width="11" valign="top" style="width:9.0pt;padding:.75pt .75pt .75pt .75pt;height:18.75pt">
</td>
<td width="404" valign="top" style="width:375.75pt;padding:.75pt .75pt .75pt .75pt;height:18.75pt">
<p class="MsoNormal" align="left" style="text-align:left"><strong><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">Dr. Matthias St. Pierre</span></strong><span lang="EN-US" style="font-size:11.0pt">
<br>
<br>
Tech Lead Cryptography <br>
<a href="mailto:matthias.st.pierre@ncp-e.com">matthias.st.pierre@ncp-e.com</a> <br>
Phone: +49 911 9968-0<br>
<a href="http://www.ncp-e.com">www.ncp-e.com</a> <o:p></o:p></span></p>
</td>
</tr>
<tr style="height:18.75pt">
<td width="620" colspan="3" valign="top" style="width:513.0pt;padding:.75pt .75pt .75pt .75pt;height:18.75pt">
<p><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri",sans-serif"><br>
Follow us on:<o:p></o:p></span></b></p>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:11.0pt"> <a href="https://www.facebook.com/NCPengineering" title="">Facebook</a> |
<a href="https://twitter.com/NCP_engineering">Twitter</a> | <a href="https://www.xing.com/companies/ncpengineeringgmbh">
Xing</a> | <a href="https://www.youtube.com/user/NCPengineeringGmbH">YouTube</a> |
<a href="http://www.linkedin.com/company/ncp-engineering-inc.?trk=cws-cpw-coname-0-0">
LinkedIn</a><br>
<br>
<strong><span style="font-family:"Calibri",sans-serif">Headquarters Germany: </span>
</strong>NCP engineering GmbH • Dombuehler Str. 2 • 90449 • Nuremberg <br>
<strong><span style="font-family:"Calibri",sans-serif">North American HQ:</span></strong> NCP engineering Inc. • 601 Cleveland Str., Suite 501-25 • Clearwater, FL 33755
<o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri",sans-serif">Authorized representatives: Peter Soell, Patrick Oliver Graf, Beate Dietrich
<br>
Registry Court: Lower District Court of Nuremberg <br>
Commercial register No.: HRB 7786 Nuremberg, VAT identification No.: DE 133557619
<o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:7.0pt;font-family:"Calibri",sans-serif;color:#727272">This e-mail message including any attachments is for the sole use of the intended recipient(s) and may contain privileged or confidential information. Any unauthorized
 review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please immediately contact the sender by reply e-mail and delete the original message and destroy all copies thereof.</span><span lang="EN-US" style="font-size:7.0pt;font-family:"Calibri",sans-serif">
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri",sans-serif"><o:p></o:p></span></p>
<p><span lang="EN-US" style="font-size:10.0pt;font-family:"Calibri",sans-serif"> <o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" align="left" style="text-align:left"><b><span lang="DE" style="font-size:11.0pt">From:</span></b><span lang="DE" style="font-size:11.0pt"> openssl-users <<a href="mailto:openssl-users-bounces@openssl.org">openssl-users-bounces@openssl.org</a>>
<b>On Behalf Of </b>Chenxinping via openssl-users<br>
<b>Sent:</b> Wednesday, February 9, 2022 4:49 AM<br>
<b>To:</b> <a href="mailto:openssl-users@openssl.org">openssl-users@openssl.org</a><br>
<b>Subject:</b> How to run a simple test case<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" align="left" style="text-align:left"><span lang="DE"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The config file have some ENV variable and will result fail to load the config file, How to run a simple test case?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Example:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">./test/ssl_test ./test-runs/test_ssl_new/17-renegotiate.cnf.default<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ERROR:  @ test/ssl_test.c:553<o:p></o:p></span></p>
</div>
</div>
</body>
</html>