mptcp.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: "Matthieu Baerts (NGI0)" <matttbe@kernel.org>
To: mptcp@lists.linux.dev
Cc: "Matthieu Baerts (NGI0)" <matttbe@kernel.org>
Subject: [PATCH mptcp-net 2/2] Squash to "selftests: mptcp: connect: also cover checksum"
Date: Tue, 15 Jul 2025 11:49:09 +0200	[thread overview]
Message-ID: <20250715-selftests-mptcp-connect-modes-fixes-v1-2-58fc475d9397@kernel.org> (raw)
In-Reply-To: <20250715-selftests-mptcp-connect-modes-fixes-v1-0-58fc475d9397@kernel.org>

Without that, all mptcp_connect*.sh subtests have the same name, e.g.

  mptcp_connect: ping tests  ## from mptcp_connect.sh
  mptcp_connect: ping tests  ## from mptcp_connect_checksum.sh
  mptcp_connect: ping tests  ## from mptcp_connect_mmap.sh
  mptcp_connect: ping tests  ## from mptcp_connect_sendfile.sh

In such case, the CI will only see one subtest, not 4 different ones.

To fix that, MPTCP_LIB_KSFT_TEST env var can simply be set.

Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
---
 tools/testing/selftests/net/mptcp/mptcp_connect_checksum.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/testing/selftests/net/mptcp/mptcp_connect_checksum.sh b/tools/testing/selftests/net/mptcp/mptcp_connect_checksum.sh
index 569340d4f00ae2e4655b30220bcfce695549a686..ce93ec2f107fba2a699387188932a2680bc9ded7 100755
--- a/tools/testing/selftests/net/mptcp/mptcp_connect_checksum.sh
+++ b/tools/testing/selftests/net/mptcp/mptcp_connect_checksum.sh
@@ -1,4 +1,5 @@
 #!/bin/bash
 # SPDX-License-Identifier: GPL-2.0
 
-"$(dirname "${0}")/mptcp_connect.sh" -C "${@}"
+MPTCP_LIB_KSFT_TEST="$(basename "${0}" .sh)" \
+	"$(dirname "${0}")/mptcp_connect.sh" -C "${@}"

-- 
2.48.1


  parent reply	other threads:[~2025-07-15  9:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15  9:49 [PATCH mptcp-net 0/2] Fixes for "selftests: mptcp: connect: cover alt modes" Matthieu Baerts (NGI0)
2025-07-15  9:49 ` [PATCH mptcp-net 1/2] Squash to "selftests: mptcp: connect: also " Matthieu Baerts (NGI0)
2025-07-15  9:49 ` Matthieu Baerts (NGI0) [this message]
2025-07-15  9:52 ` [PATCH mptcp-net 0/2] Fixes for "selftests: mptcp: connect: " Geliang Tang
2025-07-15 17:03   ` Matthieu Baerts

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=20250715-selftests-mptcp-connect-modes-fixes-v1-2-58fc475d9397@kernel.org \
    --to=matttbe@kernel.org \
    --cc=mptcp@lists.linux.dev \
    /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;
as well as URLs for NNTP newsgroup(s).