public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/3] Improve test_1_to_1_initmsg_connect SCTP test
@ 2019-11-26 12:02 Martin Doucha
  2019-11-26 12:02 ` [LTP] [PATCH 1/3] Add SAFE_ACCEPT() to LTP safe net library Martin Doucha
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Martin Doucha @ 2019-11-26 12:02 UTC (permalink / raw)
  To: ltp

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(-)

-- 
2.24.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-12-13 15:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-26 12:02 [LTP] [PATCH 0/3] Improve test_1_to_1_initmsg_connect SCTP test Martin Doucha
2019-11-26 12:02 ` [LTP] [PATCH 1/3] Add SAFE_ACCEPT() to LTP safe net library Martin Doucha
2019-12-13 15:37   ` Petr Vorel
2019-11-26 12:02 ` [LTP] [PATCH 2/3] Port test_1_to_1_initmsg_connect (SCTP) to new API Martin Doucha
2019-12-13 15:39   ` Petr Vorel
2019-12-13 15:41     ` Martin Doucha
2019-12-13 15:58       ` Petr Vorel
2019-12-13 15:45   ` Petr Vorel
2019-11-26 12:02 ` [LTP] [PATCH 3/3] Split SCTP initmsg test into two test cases Martin Doucha
2019-12-13 15:40   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox