Improve test_1_to_1_initmsg_connect SCTP test
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Add SAFE_ACCEPT() to LTP safe net libraryinclude/ include/ lib/ | +22 | 1 reply | |
| 2/3 | Port test_1_to_1_initmsg_connect (SCTP) to new APIutils/ | +42 | 2 replies | |
| 2/3 | Port test_1_to_1_initmsg_connect (SCTP) to new API | +0 | 1 reply | |
| 3/3 | Split SCTP initmsg test into two test casesutils/ | +36 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Petr Vorel |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [LTP] [PATCH 0/3] Improve test_1_to_1_initmsg_connect SCTP test
One of the SCTP tests often fails on older kernels on some platforms due to memory allocation issues. This patchset ports the test to the new LTP library and fixes the failures by splitting the test into two test cases:
1. Functional test with reduced number of connection streams
2. Stress test with original (maximum) number of connection streams
The stress test accepts ENOMEM error in connect() as success.
This patchset also adds SAFE_ACCEPT() function to the LTP library to simplify network tests.
Martin Doucha (3):
Add SAFE_ACCEPT() to LTP safe net library Port test_1_to_1_initmsg_connect (SCTP) to new API Split SCTP initmsg test into two test cases
include/safe_net_fn.h | 3 + include/tst_safe_net.h | 3 + lib/safe_net.c | 16 ++ .../func_tests/test_1_to_1_initmsg_connect.c | 161 +++++++++--------- 4 files changed, 98 insertions(+), 85 deletions(-)
Signature · 1 line
2.24.0