Subrata Modak wrote: > On Tue, 2009-01-27 at 16:26 +0100, Salvatore Nappi wrote: > >> Hi All, >> I read on the http://ltp.sourceforge.net/wiki/ link that will be added >> the Controller Area Network to LTP test within 2008. I don't find >> other information about this integration!!! Could you tell me if this >> test (CAN) has been introduced in the LTP Framework test, please? >> If the answer is yes, could you indicate me, please, where I can find >> the ltp framework file contained CAN tests? Thank you very much!! >> > > You have seen the correct thing. However, we are lacking volunteers who > can integrate the same to LTP framework. The tests are existing. > Somebody needs to test them, analyze and find out the best way to > automate them to get into LTP. Can you do that for us ? > >
Hi all, while fixing an issue inside the CAN core filters for 2.6.28: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=d253eee20195b25e298bf162a6e72f14bf4803e5 http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=f706644d55f90e8306d87060168fef33804d6dd9 i created this test tool to check the filters: http://svn.berlios.de/wsvn/socketcan/trunk/test/?rev=877&sc=1 This test checks a complete CAN communication chain using - the PF_CAN core and it's filters - the CAN RAW socket and it's sockopts - the virtual CAN interfaces I works like this: 1. create a virtual CAN interface 'vcan0' 1a. modprobe -f vcan 1b. ip link add dev vcan0 type vcan 1c. ifconfig vcan0 up 2. run 'tst-filter-server > output' (on a separate terminal or in the background) 3. run 'tst-filter-master' 4. compare the output (of tst-filter-server) with 'tst-filter-server.result' If it's ok then it's fine. If you are able to bring this filter test into LTP shape this would be perfectly fine! If there's anything missing in this description or if i can help you in CAN specific questions, please let me know. Btw. in linux/Documentation/networking/can.txt is a good and up-to-date documentation. All the stuff on the BerliOS SocketCAN SVN is GPL so you can use it under this license: http://developer.berlios.de/svn/?group_id=6475 Thanks & best regards, Oliver ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
