Skip to contentSkip to conversation

selftests: tc-testing: Fix spelling errors in cgroup.json and flow.json

PATCH In review Karan Sanghavi 2 participants 2 messages Oct 15, 2024 – Oct 16, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 selftests: tc-testing: Fix spelling errors in cgroup.json and flow.json

This patch corrects typographical errors in the "name" fields of the JSON objects with IDs "4319" and "4341" in the tc-testing selftests.

- "diffferent" is corrected to "different".
- "muliple" is corrected to "multiple".

---

v3:
- Corrected the change logs to make it easy to understand.

v2:
- Combine two earlier patches into one
- Links to v1 of each patch
[1] https://lore.kernel.org/all/Zqp9asVA-q_OzDP-@Emma/
[2] https://lore.kernel.org/all/Zqp92oXa9joXk4T9@Emma/

 tools/testing/selftests/tc-testing/tc-tests/filters/cgroup.json | 2 +-
 tools/testing/selftests/tc-testing/tc-tests/filters/flow.json   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/tc-testing/tc-tests/filters/cgroup.json +1 -1
index 03723cf84..6897ff5ad 100644
@@ -1189,7 +1189,7 @@
     },
     {
         "id": "4319",
-        "name": "Replace cgroup filter with diffferent match",
+        "name": "Replace cgroup filter with different match",
         "category": [
             "filter",
             "cgroup"
tools/testing/selftests/tc-testing/tc-tests/filters/flow.json +1 -1
index 58189327f..996448afe 100644
@@ -507,7 +507,7 @@
     },
     {
         "id": "4341",
-        "name": "Add flow filter with muliple ops",
+        "name": "Add flow filter with multiple ops",
         "category": [
             "filter",
             "flow"
Signature · 1 line
2.43.0
reviewer
#1 lore raw
Quoted 28 lines · Karan Sanghavi

This patch corrects typographical errors in the "name" fields of the JSON objects with IDs "4319" and "4341" in the tc-testing selftests.

- "diffferent" is corrected to "different".
- "muliple" is corrected to "multiple".

---

v3:
- Corrected the change logs to make it easy to understand.

v2:
- Combine two earlier patches into one
- Links to v1 of each patch
[1] https://lore.kernel.org/all/Zqp9asVA-q_OzDP-@Emma/
[2] https://lore.kernel.org/all/Zqp92oXa9joXk4T9@Emma/

 tools/testing/selftests/tc-testing/tc-tests/filters/cgroup.json | 2 +-
 tools/testing/selftests/tc-testing/tc-tests/filters/flow.json   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/tc-testing/tc-tests/filters/cgroup.json +0 -0
index 03723cf84..6897ff5ad 100644

tools/testing/selftests/tc-testing/tc-tests/filters/cgroup.json line 1195

Quoted 8 lines
tools/testing/selftests/tc-testing/tc-tests/filters/cgroup.json +1 -1
@@ -1189,7 +1189,7 @@
     },
     {
         "id": "4319",
-        "name": "Replace cgroup filter with diffferent match",
+        "name": "Replace cgroup filter with different match",
         "category": [
             "filter",
             "cgroup"

Hi Karan,

It seems that multiple is also misspelt several as miltiple in cgroup.json, basic.json and route.json. While you are fixing spelling here could you fix that too?

Quoted 17 lines
tools/testing/selftests/tc-testing/tc-tests/filters/flow.json +1 -1
index 58189327f..996448afe 100644
@@ -507,7 +507,7 @@
     },
     {
         "id": "4341",
-        "name": "Add flow filter with muliple ops",
+        "name": "Add flow filter with multiple ops",
         "category": [
             "filter",
             "flow"
Signature · 1 line
2.43.0