<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Alexey,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Good catch.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 24, 2021 at 4:15 PM Alexey Kodanev <<a href="mailto:aleksei.kodanev@bell-sw.com">aleksei.kodanev@bell-sw.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">TCID can be NULL in tst_tmpdir() because it is set after do_setup():<br>
<br>
tst_run_tcases()<br>
do_setup()<br>
...<br>
tid = get_tid();<br>
...<br>
tst_tmpdir() /* using TCID here */<br>
TCID = tid;<br>
<br>
Signed-off-by: Alexey Kodanev <<a href="mailto:aleksei.kodanev@bell-sw.com" target="_blank">aleksei.kodanev@bell-sw.com</a>><br></blockquote><div> </div><div><span class="gmail_default" style="font-size:small">Reviewed-by: Li Wang <<a href="mailto:liwang@redhat.com">liwang@redhat.com</a>></span></div></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>