multipath-tcp / mptcpd

mptcpd is a daemon for Linux that performs Multipath TCP path management related operations in the user space 😈
https://mptcpd.mptcp.dev/
BSD 3-Clause "New" or "Revised" License
169 stars 36 forks source link

test-listener-manager can fail if the kernel doesn't support MPTCP #271

Closed matttbe closed 1 year ago

matttbe commented 1 year ago

Describe the bug The Debian CI reported a errors when validating the unit tests for mptcpd 0.11: the test test-listener-manager fails with:

Unable to open MPTCP listener: Protocol not supported
test-listener-manager: test-listener-manager.c:106: test_listen: Assertion `mptcpd_lm_listen(_lm, sa) == 0' failed.

To Reproduce I guess it can be reproduced using a non MPTCP kernel

Expected behavior Like some other tests, the test should be skip if we notice the kernel doesn't support MPTCP.

Desktop (please complete the following information):

matttbe commented 1 year ago

Thanks! :)