[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250815001803.112924-1-sohammetha01@gmail.com>
Date: Fri, 15 Aug 2025 05:47:59 +0530
From: Soham Metha <sohammetha01@...il.com>
To: linux-kselftest@...r.kernel.org
Cc: shuah@...nel.org,
skhan@...uxfoundation.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
linux-kernel@...r.kernel.org,
Soham Metha <sohammetha01@...il.com>,
Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...filter.org>,
Florian Westphal <fw@...len.de>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>,
netfilter-devel@...r.kernel.org,
coreteam@...filter.org,
netdev@...r.kernel.org
Subject: [PATCH 2/6] setftests: net: netfilter: fix spelling mistakes in output
found/fixed following typos
- add add -> add
- cannnot -> cannot
- fowarded -> forwarded
in `tools/testing/selftests/net/netfilter/nft_nat.sh`
Signed-off-by: Soham Metha <sohammetha01@...il.com>
---
.../testing/selftests/net/netfilter/nft_nat.sh | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/tools/testing/selftests/net/netfilter/nft_nat.sh b/tools/testing/selftests/net/netfilter/nft_nat.sh
index a954754b99b3..44a8fdf5c19c 100755
--- a/tools/testing/selftests/net/netfilter/nft_nat.sh
+++ b/tools/testing/selftests/net/netfilter/nft_nat.sh
@@ -164,7 +164,7 @@ table $family nat {
}
EOF
if [ $? -ne 0 ]; then
- echo "SKIP: Could not add add $family dnat hook"
+ echo "SKIP: Could not add $family dnat hook"
return $ksft_skip
fi
@@ -239,7 +239,7 @@ EOF
test_inet_nat=false
return $ksft_skip
fi
- echo "SKIP: Could not add add $family dnat hook"
+ echo "SKIP: Could not add $family dnat hook"
return $ksft_skip
fi
@@ -418,7 +418,7 @@ table $family nat {
}
EOF
if [ $? -ne 0 ]; then
- echo "SKIP: Could not add add $family masquerade hook"
+ echo "SKIP: Could not add $family masquerade hook"
return $ksft_skip
fi
@@ -509,7 +509,7 @@ table $family nat {
}
EOF
if [ $? -ne 0 ]; then
- echo "SKIP: Could not add add $family masquerade hook"
+ echo "SKIP: Could not add $family masquerade hook"
return $ksft_skip
fi
@@ -569,7 +569,7 @@ test_redirect6()
ip netns exec "$ns0" sysctl net.ipv6.conf.all.forwarding=1 > /dev/null
if ! ip netns exec "$ns2" ping -q -c 1 dead:1::99 > /dev/null;then
- echo "ERROR: cannnot ping $ns1 from $ns2 via ipv6"
+ echo "ERROR: cannot ping $ns1 from $ns2 via ipv6"
lret=1
fi
@@ -598,7 +598,7 @@ table $family nat {
}
EOF
if [ $? -ne 0 ]; then
- echo "SKIP: Could not add add $family redirect hook"
+ echo "SKIP: Could not add $family redirect hook"
return $ksft_skip
fi
@@ -673,7 +673,7 @@ table $family nat {
}
EOF
if [ $? -ne 0 ]; then
- echo "SKIP: Could not add add $family redirect hook"
+ echo "SKIP: Could not add $family redirect hook"
return $ksft_skip
fi
@@ -844,7 +844,7 @@ table $family nat {
}
EOF
if [ $? -ne 0 ]; then
- echo "SKIP: Could not add add $family masquerade hook"
+ echo "SKIP: Could not add $family masquerade hook"
return $ksft_skip
fi
@@ -859,7 +859,7 @@ EOF
# from router:service bypass connection tracking.
test_port_shadow_notrack "$family"
- # test nat based mitigation: fowarded packets coming from service port
+ # test nat based mitigation: forwarded packets coming from service port
# are masqueraded with random highport.
test_port_shadow_pat "$family"
--
2.34.1
Powered by blists - more mailing lists