<div dir="ltr"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> + tst_res(TFAIL, "The member of struct mallinfo overflow, we should<br>
> use mallinfo2");<br>
><br>
> TPASS?<br>
><br>
> + } else {<br>
> + /*We will never get here*/<br>
> + tst_res(TPASS, "The member of struct mallinfo doesn't overflow");<br>
><br>
><br>
> TFAIL?<br>
><br>
> + }<br>
> + free(buf);<br>
> +}<br>
<br>
It is a "always" fail test. We should use mallinfo2 in the future. I <br>
guess failure may attract user's attention than pass.<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">Sorry, I don't understand the intention here. I got failures like below, allow it to report FAIL each time in CI/CD system?</div><div class="gmail_default" style="font-size:small"><br></div># ./mallinfo03 <br>tst_test.c:1263: TINFO: Timeout per run is 0h 05m 00s<br>tst_mallinfo.c:15: TINFO: Test malloc 2G...<br>tst_mallinfo.c:17: TINFO: arena: 135168<br>tst_mallinfo.c:18: TINFO: ordblks: 1<br>tst_mallinfo.c:19: TINFO: smblks: 0<br>tst_mallinfo.c:20: TINFO: hblks: 1<br>tst_mallinfo.c:21: TINFO: hblkhd: -2147479552<br>tst_mallinfo.c:22: TINFO: usmblks: 0<br>tst_mallinfo.c:23: TINFO: fsmblks: 0<br>tst_mallinfo.c:24: TINFO: uordblks: 848<br>tst_mallinfo.c:25: TINFO: fordblks: 134320<br>tst_mallinfo.c:26: TINFO: keepcost: 134320<br>mallinfo03.c:36: TFAIL: The member of struct mallinfo overflow, we should use mallinfo2<br><br>Summary:<br>passed 0<br>failed 1<br>broken 0<br>skipped 0<br>warnings 0</div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>