Hello.

Subrata Modak wrote:
> Do you feel the above information is sufficient for your to write tests
> for LTP ? Please feel free to ask us questions regarding anything to LTP
> tests.
Yes. I'm reading it now. Some random topics I noticed...



In http://ltp.sourceforge.net/ltpman.php ...
The "LTP test driver PAN" points to
http://ltp.sourceforge.net/ltpmantemp.php?file=man1/pan.html
but the content seems empty.
Same result for other topics.
Is ltpmantemp.php working?



In "Developing tests in ANSI-C using LTP test harness API's" at
http://ltp.sourceforge.net/documentation/how-to/ltp.php ...

> TFAIL
>    Print the test case result. The tst_resm/tst_res function prints related 
> messages to the screen indicating a test failure. The test will exit with a 
> non-zero exit value when tst_exit function is called.
>
>    test01    0  PASS  :  uname command exited with error code = 255
>
I think this is "FAIL  :  uname command exited with error code = 255".

>TWARN
>    Print warning messages. For example, when system resources are low.
>
>    test01    0  PASS  :  System low on memory, test case might fail.
I think this is "WARN  :  System low on memory, test case might fail."



There are several "amp;" which I think it meant '&'.



In "Recommendation on coding style"...

> Check for return values from system calls. Report reason appropriately using 
> the tst_brkm() API. The recommended style is as follows:
> Use spaces instead of tab characters. Typically four spaces may be used 
> instead of a tab character.

Ouch! I'm writing testcases in accordance with script/checkpatch.pl in Linux
kernel source tree. I expect that those who update/maintain testcases for
kernel source code likely have some experience in writing kernel patches.
Is it preferable to change codyng style in accordance with LTP?



http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/kernel/selinux-testsuite/
seems to be moved to
http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/kernel/security/selinux-testsuite/



Many programs under
http://ltp.cvs.sourceforge.net/viewvc/ltp/ltp/testcases/kernel/security/ seems
not using harness APIs...
Are these programs intended for executed by general LTP users?

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to