aboutgitcodebugslistschat
path: root/README.md
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2022-09-13 16:37:45 +1000
committerStefano Brivio <sbrivio@redhat.com>2022-09-13 11:14:29 +0200
commit9fc476af6ebcef88e128fb681631c3a39243f4f2 (patch)
treee3fb032aaf752ddbc2bad7d01e14723a4730be67 /README.md
parentaf9c98af5ffc7502c6292a36ffae4913b1ce9acf (diff)
downloadpasst-9fc476af6ebcef88e128fb681631c3a39243f4f2.tar
passt-9fc476af6ebcef88e128fb681631c3a39243f4f2.tar.gz
passt-9fc476af6ebcef88e128fb681631c3a39243f4f2.tar.bz2
passt-9fc476af6ebcef88e128fb681631c3a39243f4f2.tar.lz
passt-9fc476af6ebcef88e128fb681631c3a39243f4f2.tar.xz
passt-9fc476af6ebcef88e128fb681631c3a39243f4f2.tar.zst
passt-9fc476af6ebcef88e128fb681631c3a39243f4f2.zip
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>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions