* [PATCH] selftests: fix spelling/grammar errors in sysctl/sysctl.sh
@ 2025-01-28 10:36 Chandra Pratap
2025-02-21 8:28 ` Joel Granados
0 siblings, 1 reply; 2+ messages in thread
From: Chandra Pratap @ 2025-01-28 10:36 UTC (permalink / raw)
To: kees, joel.granados, shuah, linux-kernel, linux-fsdevel,
linux-kselftest
Cc: Chandra Pratap
Fix the grammatical/spelling errors in sysctl/sysctl.sh.
This fixes all errors pointed out by codespell in the file.
Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
---
tools/testing/selftests/sysctl/sysctl.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/testing/selftests/sysctl/sysctl.sh b/tools/testing/selftests/sysctl/sysctl.sh
index 84472b436c07..f6e129a82ffd 100755
--- a/tools/testing/selftests/sysctl/sysctl.sh
+++ b/tools/testing/selftests/sysctl/sysctl.sh
@@ -21,7 +21,7 @@ TEST_FILE=$(mktemp)
# ENABLED: 1 if enabled, 0 otherwise
# TARGET: test target file required on the test_sysctl module
# SKIP_NO_TARGET: 1 skip if TARGET not there
-# 0 run eventhough TARGET not there
+# 0 run even though TARGET not there
#
# Once these are enabled please leave them as-is. Write your own test,
# we have tons of space.
@@ -764,7 +764,7 @@ sysctl_test_0007()
fi
if [ ! -f /proc/cmdline ]; then
- echo -e "SKIPPING\nThere is no /proc/cmdline to check for paramter"
+ echo -e "SKIPPING\nThere is no /proc/cmdline to check for parameter"
return $ksft_skip
fi
@@ -898,7 +898,7 @@ usage()
echo Example uses:
echo
echo "$TEST_NAME.sh -- executes all tests"
- echo "$TEST_NAME.sh -t 0002 -- Executes test ID 0002 number of times is recomended"
+ echo "$TEST_NAME.sh -t 0002 -- Executes test ID 0002 number of times is recommended"
echo "$TEST_NAME.sh -w 0002 -- Watch test ID 0002 run until an error occurs"
echo "$TEST_NAME.sh -s 0002 -- Run test ID 0002 once"
echo "$TEST_NAME.sh -c 0002 3 -- Run test ID 0002 three times"
--
2.48.0-rc1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] selftests: fix spelling/grammar errors in sysctl/sysctl.sh
2025-01-28 10:36 [PATCH] selftests: fix spelling/grammar errors in sysctl/sysctl.sh Chandra Pratap
@ 2025-02-21 8:28 ` Joel Granados
0 siblings, 0 replies; 2+ messages in thread
From: Joel Granados @ 2025-02-21 8:28 UTC (permalink / raw)
To: Chandra Pratap; +Cc: kees, shuah, linux-kernel, linux-fsdevel, linux-kselftest
On Tue, Jan 28, 2025 at 04:06:55PM +0530, Chandra Pratap wrote:
> Fix the grammatical/spelling errors in sysctl/sysctl.sh.
> This fixes all errors pointed out by codespell in the file.
>
> Signed-off-by: Chandra Pratap <chandrapratap3519@gmail.com>
> ---
> tools/testing/selftests/sysctl/sysctl.sh | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/testing/selftests/sysctl/sysctl.sh b/tools/testing/selftests/sysctl/sysctl.sh
> index 84472b436c07..f6e129a82ffd 100755
> --- a/tools/testing/selftests/sysctl/sysctl.sh
> +++ b/tools/testing/selftests/sysctl/sysctl.sh
> @@ -21,7 +21,7 @@ TEST_FILE=$(mktemp)
> # ENABLED: 1 if enabled, 0 otherwise
> # TARGET: test target file required on the test_sysctl module
> # SKIP_NO_TARGET: 1 skip if TARGET not there
> -# 0 run eventhough TARGET not there
> +# 0 run even though TARGET not there
> #
> # Once these are enabled please leave them as-is. Write your own test,
> # we have tons of space.
> @@ -764,7 +764,7 @@ sysctl_test_0007()
> fi
>
> if [ ! -f /proc/cmdline ]; then
> - echo -e "SKIPPING\nThere is no /proc/cmdline to check for paramter"
> + echo -e "SKIPPING\nThere is no /proc/cmdline to check for parameter"
> return $ksft_skip
> fi
>
> @@ -898,7 +898,7 @@ usage()
> echo Example uses:
> echo
> echo "$TEST_NAME.sh -- executes all tests"
> - echo "$TEST_NAME.sh -t 0002 -- Executes test ID 0002 number of times is recomended"
> + echo "$TEST_NAME.sh -t 0002 -- Executes test ID 0002 number of times is recommended"
> echo "$TEST_NAME.sh -w 0002 -- Watch test ID 0002 run until an error occurs"
> echo "$TEST_NAME.sh -s 0002 -- Run test ID 0002 once"
> echo "$TEST_NAME.sh -c 0002 3 -- Run test ID 0002 three times"
> --
> 2.48.0-rc1
>
Applied it to sysctl-next
Thx
--
Joel Granados
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-21 8:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-28 10:36 [PATCH] selftests: fix spelling/grammar errors in sysctl/sysctl.sh Chandra Pratap
2025-02-21 8:28 ` Joel Granados
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox