Test running ping through two tinc daemons.

This is a more complicated test with one tinc daemon using a tap interface
(therefore requiring root), and a second one using a multicast interface. A
separate program "pong" is listening on the same multicast address, and waits
for ARP and ICMP packets, responding to ICMP echo packets with replies.
This test doesn't require any configuration of the tap interface.
This commit is contained in:
Guus Sliepen 2013-09-05 17:42:31 +02:00
parent fe1d0043c8
commit b80cbaba04
3 changed files with 258 additions and 0 deletions

View file

@ -4,12 +4,18 @@ TESTS = \
executables.test \
import-export.test \
invite-join.test \
ping.test \
sptps-basic.test \
variables.test
EXTRA_DIST = testlib.sh
check_PROGRAMS = pong
pong_SOURCES = pong.c
clean-local:
-for pid in *.test.?/pid; do ../src/tinc --pidfile="$$pid" stop; done
-killall ../src/sptps_test
-killall pong
-rm -rf *.test.?