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

Richard Palethorpe rpalethorpe@suse.de
Thu Jul 13 15:12:17 CEST 2017

Hello Petr,

Petr Vorel writes:

> 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.

Thanks. May do networking after multi-threaded and forking tutorials.
>> +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).

Good spot.

> 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.

OK and I better link to this from the README as well.

> Kind regards,
> Petr

Thank you,

More information about the ltp mailing list