]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
selftests: fix spelling/grammar errors in sysctl/sysctl.sh
authorChandra Pratap <chandrapratap3519@gmail.com>
Tue, 28 Jan 2025 10:36:55 +0000 (16:06 +0530)
committerJoel Granados <joel.granados@kernel.org>
Fri, 21 Feb 2025 08:27:04 +0000 (09:27 +0100)
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>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
tools/testing/selftests/sysctl/sysctl.sh

index 84472b436c07faf43e555999951e554f8e1a60c5..f6e129a82ffd804e6d19e601131215dcb29466fa 100755 (executable)
@@ -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"