use helpers in lib.sh and net_helpers.sh
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 5 repliesIn review
- v34 patches 1 replySuperseded
- v24 patches 9 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 4 patches | 1 reply | Superseded |
Changes in v4 from the cover letter
- two more fixes added
- exit when setup_ns fails in mptcp_lib_ns_init
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | selftests: net: rename ns in setup/cleanup_nstools/ | +20 | 1 reply | |
| 2/6 | selftests: mptcp: rename ns to _ns in get_countertools/ | +2 | 1 reply | |
| 3/6 | selftests: mptcp: use setup/cleanup_ns helperstools/ | +8 | 0 replies | |
| 4/6 | selftests: mptcp: diag: trap cleanup after ns_inittools/ | +1 | 0 replies | |
| 5/6 | selftests: mptcp: join: print title after init_partialtools/ | +2 | 1 reply | |
| 6/6 | selftests: mptcp: use wait_local_port_listen helpertools/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH mptcp-next v4 0/6] use helpers in lib.sh and net_helpers.sh
From: Geliang Tang <[email protected]>
This set uses the public helpers defined in net selftests to replace helpers in mptcp_lib.sh.
v4:
- two more fixes added
- exit when setup_ns fails in mptcp_lib_ns_init
v3:
- address Matt's comments in v2 (thanks, it's very useful.)
- don't rename ns in diag.sh, but in lib.sh
- ns in get_counter needs to be renamed too
- add a ns_name valid check in setup_ns
- drop $NS_LIST in mptcp_lib_ns_init
- don't drop mptcp_lib_ns_init, use cleanup_ns in it
- don't use cleanup_all_ns, still use mptcp_lib_ns_init
v2:
- only patch 3 updated, mptcp_join.sh, move cleanup_all_ns from cleanup_partial to cleanup, setup_ns will delete existing namespaces automatically.
- update commit logs.
Geliang Tang (6):
selftests: net: rename ns in setup/cleanup_ns
selftests: mptcp: rename ns to _ns in get_counter
selftests: mptcp: use setup/cleanup_ns helpers
selftests: mptcp: diag: trap cleanup after ns_init
selftests: mptcp: join: print title after init_partial
selftests: mptcp: use wait_local_port_listen helper
tools/testing/selftests/net/lib.sh | 33 ++++++++++------- tools/testing/selftests/net/mptcp/diag.sh | 2 +- .../testing/selftests/net/mptcp/mptcp_join.sh | 4 +- .../testing/selftests/net/mptcp/mptcp_lib.sh | 37 ++++++------------- 4 files changed, 35 insertions(+), 41 deletions(-)
Signature · 1 line
2.43.0