Commit 0bd5acca authored by Philip Withnall's avatar Philip Withnall Committed by Olivier Crête

tests: Add a new segment-by-segment test framework for pseudo-TCP

This explicitly removes all timers and main loop considerations from the
pseudo-TCP testing, which considerably simplifies arranging packet swaps
and mistimings for testing purposes.

This test suite includes a few tests for the FIN–ACK support.
parent 5adf7f97
......@@ -147,6 +147,7 @@ tests/test-mainloop
tests/test-priority
tests/test-pseudotcp
tests/test-pseudotcp-fuzzy
tests/test-pseudotcp-fin
tests/test-restart
tests/test-tcp
tests/test-thread
......
......@@ -23,6 +23,7 @@ COMMON_LDADD = $(top_builddir)/agent/libagent.la $(top_builddir)/socket/libsocke
check_PROGRAMS = \
test-pseudotcp \
test-pseudotcp-fin \
test-pseudotcp-fuzzy \
test-bsd \
test \
......@@ -56,6 +57,8 @@ noinst_HEADERS = test-io-stream-common.h
test_pseudotcp_LDADD = $(COMMON_LDADD)
test_pseudotcp_fin_LDADD = $(COMMON_LDADD)
test_pseudotcp_fuzzy_LDADD = $(COMMON_LDADD) -lm
test_bsd_LDADD = $(COMMON_LDADD)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment