[PATCH REPOST] selftests: net: Fix minor typos in MPTCP and psock tests

Suchit K posted 1 patch 10 months ago
tools/testing/selftests/net/mptcp/simult_flows.sh | 2 +-
tools/testing/selftests/net/psock_tpacket.c       | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH REPOST] selftests: net: Fix minor typos in MPTCP and psock tests
Posted by Suchit K 10 months ago
From: Suchit <suchitkarunakaran@gmail.com>

Fixes minor spelling errors:
- `simult_flows.sh`: "al testcases" -> "all testcases"
- `psock_tpacket.c`: "accross" -> "across"

Signed-off-by: Suchit Karunakaran <suchitkarunakaran@gmail.com>
---
 tools/testing/selftests/net/mptcp/simult_flows.sh | 2 +-
 tools/testing/selftests/net/psock_tpacket.c       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/testing/selftests/net/mptcp/simult_flows.sh b/tools/testing/selftests/net/mptcp/simult_flows.sh
index 9c2a41597..2329c2f85 100755
--- a/tools/testing/selftests/net/mptcp/simult_flows.sh
+++ b/tools/testing/selftests/net/mptcp/simult_flows.sh
@@ -28,7 +28,7 @@ size=0
 
 usage() {
 	echo "Usage: $0 [ -b ] [ -c ] [ -d ] [ -i]"
-	echo -e "\t-b: bail out after first error, otherwise runs al testcases"
+	echo -e "\t-b: bail out after first error, otherwise runs all testcases"
 	echo -e "\t-c: capture packets for each test using tcpdump (default: no capture)"
 	echo -e "\t-d: debug this script"
 	echo -e "\t-i: use 'ip mptcp' instead of 'pm_nl_ctl'"
diff --git a/tools/testing/selftests/net/psock_tpacket.c b/tools/testing/selftests/net/psock_tpacket.c
index 404a2ce75..221270cee 100644
--- a/tools/testing/selftests/net/psock_tpacket.c
+++ b/tools/testing/selftests/net/psock_tpacket.c
@@ -12,7 +12,7 @@
  *
  * Datapath:
  *   Open a pair of packet sockets and send resp. receive an a priori known
- *   packet pattern accross the sockets and check if it was received resp.
+ *   packet pattern across the sockets and check if it was received resp.
  *   sent correctly. Fanout in combination with RX_RING is currently not
  *   tested here.
  *
-- 
2.48.1
Re: [PATCH REPOST] selftests: net: Fix minor typos in MPTCP and psock tests
Posted by Matthieu Baerts 10 months ago
Hi Suchit,

On 18/02/2025 17:59, Suchit K wrote:
> From: Suchit <suchitkarunakaran@gmail.com>
> 
> Fixes minor spelling errors:
> - `simult_flows.sh`: "al testcases" -> "all testcases"
> - `psock_tpacket.c`: "accross" -> "across"

Thank you, the patch is no longer corrupted.

Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>

This patch can be directly applied in net-next.

Note: please next time don't repost your patches within one 24h period,
and use the [PATCH net-next] prefix, see:

  https://docs.kernel.org/process/maintainer-netdev.html

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.
Re: [PATCH REPOST] selftests: net: Fix minor typos in MPTCP and psock tests
Posted by Suchit K 10 months ago
Thanks for the feedback!

On Wed, 19 Feb 2025 at 00:12, Matthieu Baerts <matttbe@kernel.org> wrote:
>
> Hi Suchit,
>
> On 18/02/2025 17:59, Suchit K wrote:
> > From: Suchit <suchitkarunakaran@gmail.com>
> >
> > Fixes minor spelling errors:
> > - `simult_flows.sh`: "al testcases" -> "all testcases"
> > - `psock_tpacket.c`: "accross" -> "across"
>
> Thank you, the patch is no longer corrupted.
>
> Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
>
> This patch can be directly applied in net-next.
>
> Note: please next time don't repost your patches within one 24h period,
> and use the [PATCH net-next] prefix, see:
>
>   https://docs.kernel.org/process/maintainer-netdev.html
>
> Cheers,
> Matt
> --
> Sponsored by the NGI0 Core fund.
>