[LTP] [COMMITTED][PATCH 1/1] nfs05_make_tree: Restore 5 min timeout

Cyril Hrubis chrubis@suse.cz
Fri Jun 17 17:09:09 CEST 2022


Hi!
> > I guess that it would probably implement main() in the nfs05_make_tree.c
> > instead as we do for the various tools in testcases/lib/*.c. That would
> > at least make sure that we will not break anything with changes intended
> > for tests and not for helper binaries as this one.
> 
> Helper binaries does not use LTP C API. I'd like to keep it (to have SAFE_*()),
> I guess you're not against. Therefore just using TST_NO_DEFAULT_MAIN
> and adding main(), right?

I guess that would work, but I will have to double check the tst_test.c
library.

Also I'm not sure that this would be the best solution, mixing C and
shell code was always akward and maybe we can figure out how to make it
better.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list