[LTP] [PATCH v2] syscalls: add syscall syncfs test
Fri Feb 15 14:25:26 CET 2019
> > Thanks for the pointers. IIUC, you are referring to following change:
> > - TEST(syncfs(fd));
> > + TEST(tst_syscall(__NR_syncfs, fd));
> > If yes, then I will incorporate it.
> The most complete solution is configure check + fallback definition.
> Have a look at:
And then you have to also check for the return value to exit the test
with TCONF on missing kernel support, you will most likely get EINVAL in
that case as the syscall number is not known.
More information about the ltp