MPTCP Linux Development
 help / color / mirror / Atom feed
From: Geliang Tang <geliang@kernel.org>
To: mptcp@lists.linux.dev
Cc: Geliang Tang <tanggeliang@kylinos.cn>
Subject: [PATCH mptcp-next v3 0/4] use helpers in lib.sh and net_helpers.sh
Date: Fri, 24 May 2024 11:11:45 +0800	[thread overview]
Message-ID: <cover.1716519897.git.tanggeliang@kylinos.cn> (raw)

From: Geliang Tang <tanggeliang@kylinos.cn>

This set uses the public helpers defined in net selftests to replace
helpers in mptcp_lib.sh.

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 (4):
  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: use wait_local_port_listen helper

 tools/testing/selftests/net/lib.sh            | 33 +++++++++++-------
 .../testing/selftests/net/mptcp/mptcp_lib.sh  | 34 +++++--------------
 2 files changed, 29 insertions(+), 38 deletions(-)

-- 
2.43.0


             reply	other threads:[~2024-05-24  3:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-24  3:11 Geliang Tang [this message]
2024-05-24  3:11 ` [PATCH mptcp-next v3 1/4] selftests: net: rename ns in setup/cleanup_ns Geliang Tang
2024-05-24  3:11 ` [PATCH mptcp-next v3 2/4] selftests: mptcp: rename ns to _ns in get_counter Geliang Tang
2024-05-24  3:11 ` [PATCH mptcp-next v3 3/4] selftests: mptcp: use setup/cleanup_ns helpers Geliang Tang
2024-05-24  3:11 ` [PATCH mptcp-next v3 4/4] selftests: mptcp: use wait_local_port_listen helper Geliang Tang
2024-05-24  4:01 ` [PATCH mptcp-next v3 0/4] use helpers in lib.sh and net_helpers.sh MPTCP CI

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1716519897.git.tanggeliang@kylinos.cn \
    --to=geliang@kernel.org \
    --cc=mptcp@lists.linux.dev \
    --cc=tanggeliang@kylinos.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox