<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 17, 2020 at 9:36 PM Cyril Hrubis <<a href="mailto:chrubis@suse.cz">chrubis@suse.cz</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"><span class="gmail_default" style="font-size:small">...</span><br>
> > +static struct tst_test test = {<br>
> > +       .min_kver = "5.2",<br>
> ><br>
> <br>
> I suggest removing .min_kver check in all of the tests to let they can be<br>
> running on many distributions(which backport the features).<br>
<br>
If we do that we have to explicitely check for ENOSYS errno in each<br>
test, quite possibly with a dummy call to the tested syscall in test<br>
setup, because once these calls gets libc wrappers we will no longer<br>
call the tst_syscall() that checks for it.<br></blockquote><div> </div><div><span class="gmail_default" style="font-size:small">+1 add dummy call to the tested syscall in the setup.</span> </div></div><div class="gmail_default" style="font-size:small"></div><div><div class="gmail_default" style="font-size:small">Agree, thanks for point out this.</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>