]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
Added test programm to check the correct functionality of
authorhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Thu, 29 Jul 2010 09:11:12 +0000 (09:11 +0000)
committerhartkopp <hartkopp@030b6a49-0b11-0410-94ab-b0dab22257f2>
Thu, 29 Jul 2010 09:11:12 +0000 (09:11 +0000)
commite38645abb176a395cad1cd9c746aee178d45ee7e
treed4a0824925de568b9766763fd019f2169f2e5fb9
parent7ad6a3139452b175b4bc1625c5150200f8d88fcc
Added test programm to check the correct functionality of
CAN_RAW_LOOPBACK and CAN_RAW_RECV_OWN_MSGS socket options.

It needs a vcan0 virtual CAN network interface and should produce an output like this, when invoked:

sockopt default
 t : 0
 timeout
sockopt - -
 timeout
sockopt - R
 timeout
sockopt L -
 t : 3
 timeout
sockopt L R
 s : 4
 t : 4
 timeout
done.

git-svn-id: svn://svn.berlios.de//socketcan/trunk@1191 030b6a49-0b11-0410-94ab-b0dab22257f2
test/Makefile
test/tst-rcv-own-msgs.c [new file with mode: 0644]