From Fedora Project Wiki
(basic test steps for lksctp_tools package) |
No edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{header|qa}} | |||
1. run command withsctp<br /> | {{QA/Test_Case | ||
2. run command checksctp<br /> | | description=lksctp_tools include several tools to test sctp, this case test basic functions for it, check if it can send and receive sctp packets successfully | ||
|actions= | |||
1. run command withsctp and check if any error happens<br /> | |||
2. run command checksctp and check if any error happens<br /> | |||
3. test sctp_test<br /> | 3. test sctp_test<br /> | ||
run "sctp_test -H localhost -P 10010 -l" in one terminal A | run "sctp_test -H localhost -P 10010 -l" in one terminal A | ||
Line 12: | Line 15: | ||
check output in terminal A, result should be like: "Server: Receiving packets.(10/10)" | check output in terminal A, result should be like: "Server: Receiving packets.(10/10)" | ||
exit command in terminal A | exit command in terminal A | ||
|results= | |||
# The testcase should pass without any error or crash | |||
}} | |||
[[Category:Package_lksctp_tools_test_cases]] |
Latest revision as of 09:12, 1 November 2018
Description
lksctp_tools include several tools to test sctp, this case test basic functions for it, check if it can send and receive sctp packets successfully
How to test
1. run command withsctp and check if any error happens
2. run command checksctp and check if any error happens
3. test sctp_test
run "sctp_test -H localhost -P 10010 -l" in one terminal A run "sctp_test -H localhost -P 10011 -h localhost -p 10010 -s -c 1" in another terminal check output in terminal A, result should be like: (assoc_change: state=3, error=0, instr=0 outstr=0) exit command in terminal A
4. test sctp_status
run "sctp_status -H localhost -P 10010 -l" in terminal A run "sctp_status -H localhost -P 10011 -h localhost -p 10010 -s -c 64" in terminal B check output in terminal A, result should be like: "Server: Receiving packets.(10/10)" exit command in terminal A
Expected Results
- The testcase should pass without any error or crash