Skip to content

Commit

Permalink
tests: Run connect tests with checksum support
Browse files Browse the repository at this point in the history
Much like multipath-tcp#1, run the connect tests an extra time with the -C flag in
order to exercise the checksum code in more scenarios.

Signed-off-by: Mat Martineau <[email protected]>
  • Loading branch information
mjmartineau committed Oct 27, 2021
1 parent ca3335b commit 5a0a47e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ prepare() { local old_pwd mode

local kunit_tap="${RESULTS_DIR}/kunit.tap"
local mptcp_connect_mmap_tap="${RESULTS_DIR}/mptcp_connect_mmap.tap"
local mptcp_connect_csum_tap="${RESULTS_DIR}/mptcp_connect_csum.tap"
local mptcp_join_csum_tap="${RESULTS_DIR}/mptcp_join_csum.tap"
local pktd_base="${RESULTS_DIR}/packetdrill"

Expand Down Expand Up @@ -452,6 +453,10 @@ run_mptcp_connect_mmap() {
_run_selftest_one_tap "${mptcp_connect_mmap_tap}" ./mptcp_connect.sh -m mmap
}
run_mptcp_connect_csum() {
_run_selftest_one_tap "${mptcp_connect_csum_tap}" ./mptcp_connect.sh -C
}
run_mptcp_join_csum() {
_run_selftest_one_tap "${mptcp_join_csum_tap}" ./mptcp_join.sh -C
}
Expand Down Expand Up @@ -514,6 +519,7 @@ else
run_kunit
run_selftest_all
run_mptcp_connect_mmap
run_mptcp_connect_csum
run_mptcp_join_csum
run_packetdrill_all
fi
Expand Down

0 comments on commit 5a0a47e

Please sign in to comment.