Skip to contentSkip to conversation

What test suite exists for SCTP

DISCUSSION Paolo Galtieri 2 participants 4 messages Jun 5, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Vlad,
what test suite exists for SCTP? The lksctp-tools code hasn't been
updated since Feb of 2006, and I was wondering whether this version is still the most useful.

Thanks

#1 lore raw
Quoted 6 lines · Paolo Galtieri

Vlad,
what test suite exists for SCTP? The lksctp-tools code hasn't been
updated since Feb of 2006, and I was wondering whether this version is still the most useful.

Thanks

Hi Paolo

I have a lksctp-tools tree on git.kernel.org that's up to date. We'll need to release new tools when 2.6.22 ships.

What kind of test suite are you looking for? There is also a conformance test suite at http://sctp.fh-muenster.de/sctp-testtool.html, but I haven't played with it yet.

I also have some home-grown tools that I really need to find time to clean-up and publish.

-vlad

#2 lore raw
Quoted 15 lines · Vlad Yasevich
Quoted 7 lines · Paolo Galtieri

Vlad,
what test suite exists for SCTP? The lksctp-tools code hasn't been
updated since Feb of 2006, and I was wondering whether this version is still the most useful.

Thanks

Hi Paolo

I have a lksctp-tools tree on git.kernel.org that's up to date. We'll need to release new tools when 2.6.22 ships.

Quoted 10 lines

What kind of test suite are you looking for? There is also a conformance test suite at http://sctp.fh-muenster.de/sctp-testtool.html, but I haven't played with it yet.

I also have some home-grown tools that I really need to find time to clean-up and publish.

-vlad

Vlad,
I'm looking for something that exercises the SCTP stack. Something
that can be run against different kernel versions for comparing features and regression testing.

Thanks
Paolo

#3 lore raw
Quoted 5 lines · Paolo Galtieri

Vlad,
I'm looking for something that exercises the SCTP stack. Something
that can be run against different kernel versions for comparing features and regression testing.

lksctp-tools git repo is a good start. There 2 different sets of test:

1. Frame tests in lksctp-tools/test. These run the kernel sctp code in userspace and are programmable to do whatever you want. You can add tests to cover new functionality or ever force corner cases. The only limitation of these is that you can't simulate race conditions.

2. Userspace functional tests in lksctp-tools/src/func_tests. These are mostly API tests.

That's a good start. You can add to it anything that could be missing.

One warning about frame tests. You need different version of them for each different kernel version. They depend on the kernel internals and when those change we have to continually change these tests.

-vlad