[LTP] [PATCH v2] tutorial: Add a step-by-step C test tutorial

Petr Vorel pvorel@suse.cz
Thu Jul 13 14:28:43 CEST 2017


Hi Richard,

> A tutorial for writing a complete, if simple test.

> You can see the final formatted version here:
> https://github.com/richiejp/ltp/wiki/C-Test-Case-Tutorial
Very nice in depth tutorial, thanks! I think this is great not only for newcomers :-).
I hope we wrote one day some networking tutorial.

> +LTP tests can be written in C or Shell script. This tutorial is only for tests
> +written in C using the new LTP test API. Note that while we go into some
> +detail on using Git, this is not intended as a cannonical or complete guide
> +additions where possible.
Isn't it 'canonical'? (I'm not a native speaker).

Apart from that I'd appreciate to have links (to "test writing guide" or checkpatch.pl) as
I'm lazy and like to click, but thats only detail.


Kind regards,
Petr


More information about the ltp mailing list