<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Avinesh,</div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">Avinesh Kumar <<a href="mailto:akumar@suse.de">akumar@suse.de</a>> wrote:<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
- for (lc = 0; TEST_LOOPING(lc); lc++) {<br>
- /* reset tst_count in case we are looping */<br>
- tst_count = 0;<br>
+ TEST(getsid(0));<br>
+ p_sid = TST_RET;<br></blockquote><div><br></div><div class="gmail_default" style="font-size:small">We'd better examine TST_RET not equal -1, otherwise, the test can</div><div class="gmail_default" style="font-size:small">still report pass with two wrong values (-1) returned. isn't it?</div><div class="gmail_default" style="font-size:small"></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
+ c_sid = TST_RET;<br></blockquote><div><br></div></div><div class="gmail_default" style="font-size:small">Here as well.</div><br clear="all"><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>