Hi Subrata,

On Wed, Oct 22, 2008 at 05:02:06PM +0530, Subrata Modak wrote:
> > > Controller area network (CAN) protocol support is recently added to
> > > linux-2.6.25. At Linux Test Project (http://ltp.sourceforge.net/), we
> > > aim to provide test cases that tests all features of Kernel. So, we
> > > search for new test cases that can be added. Can you please share the
> > > test cases for "Controller area network (CAN) protocol support" with us
> > > under GPLv2 ?
> > >
> > 
> > Hi Subrata,
> > 
> > i have no objections. I created some test-apps in
> > 
> > http://svn.berlios.de/svnroot/repos/socketcan/trunk/test/
> > 
> > for development and tutorial purposes. But at first glance this does not 
> > fit into the Linux Test Project.
> > 
> > I would like to go a bit deeper into LTP before i can give you a 
> > detailed answer - but it should be no problem at all to share test cases 
> > (under GPLv2).
> 
> Did you find out how we can integrate the above test case infrastructure
> for CAN into LTP ?  In case you would also like to contribute these test
> cases (above URL), you can reply to this mail with:
> 
> Signed-Off-By: Oliver Hartkopp <[EMAIL PROTECTED]>
> 
> which then gives me the right to include the same.

We have some extensive SocketCAN tests in our standard acceptance test
scripts; however, in order to be able to gain significant information,
you need two boxes, plus the possiblity to remote-control both from the
same test runner.

In ptxdist, we have solved this by using test scripts that can issue
commands on the two boxes via ssh/rsh; however, I suppose it doesn't
really fit into LTP.

It may be possible to add a virtual can interface to a box, then run
tests against itself, but according to our experience (we have been
involved into the design & implementation of SocketCAN), it is of
limited help, because usual problems come up with real hardware.

rsc
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to