passt/test/passt_in_ns
David Gibson 9fc476af6e test: Simpler termination handling for UDP tests
Because UDP is connectionless we don't have an in-built end-of-stream
signal for our connectivity tests.  We work around this by explicitly
adding an end marker to our sample data and killing the listening end once
it is seen.

However, socat has some built-in options - null-eof and shut-null - which
can be used to signal the end of stream with a zero-length UDP packet.
Use these to simplify how the UDP tests are implemented.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2022-09-13 11:14:29 +02:00
..
icmp test: Group tests by mode then protocol, rather than the reverse 2022-09-13 11:12:41 +02:00
shutdown test: Move pidfiles and nsholder sockets into state directory 2022-09-13 11:12:41 +02:00
tcp test: Use paths in __STATEDIR__ instead of 'temp' and 'tempdir' directives 2022-09-13 11:12:41 +02:00
udp test: Simpler termination handling for UDP tests 2022-09-13 11:14:29 +02:00