<div dir="ltr"><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 7, 2018 at 4:34 PM, Jan Stancek <span dir="ltr"><<a target="_blank" href="mailto:jstancek@redhat.com">jstancek@redhat.com</a>></span> wrote:<br><blockquote style="margin-top:0px;margin-bottom:0px" class="gmail_quote">times() runs immediately after fork(), but syscall alone<br>
seems to be enough for some systems to already account ticks.<br>
<br>
For example on arm64 with 4.14:<br>
  tst_test.c:980: INFO: Timeout per run is 0h 05m 00s<br>
  times03.c:102: PASS: buf1.tms_utime = 0<br>
  times03.c:105: FAIL: buf1.tms_stime = 1<br>
  ...<br>
<br>
This patch drops the initial zero check for [us]time.<br></blockquote><div><span style="font-family:arial,helvetica,sans-serif"><br></span><div style="display:inline" class="gmail_default"><span style="font-family:arial,helvetica,sans-serif">​Acked-by: Li Wang <<a href="mailto:liwang@redhat.com">liwang@redhat.com</a>>​</span></div><span style="font-family:arial,helvetica,sans-serif"> <br><br></span></div></div><br>-- <br><div class="gmail_signature"><div dir="ltr">Regards,<br>Li Wang<br>Email: <a target="_blank" href="mailto:liwang@redhat.com">liwang@redhat.com</a><br></div></div>
</div></div>