[PATCH sysctl-next v2] selftests/sysctl: fix wording of help messages

Bharadwaj Raju posted 1 patch 9 months, 4 weeks ago
tools/testing/selftests/sysctl/sysctl.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH sysctl-next v2] selftests/sysctl: fix wording of help messages
Posted by Bharadwaj Raju 9 months, 4 weeks ago
Fix grammar such as "number amount of times is
recommended" etc -> "the recommended number of
times".

Signed-off-by: Bharadwaj Raju <bharadwaj.raju777@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 f6e129a82ffd..db1616857d89 100755
--- a/tools/testing/selftests/sysctl/sysctl.sh
+++ b/tools/testing/selftests/sysctl/sysctl.sh
@@ -857,7 +857,7 @@ list_tests()
 	echo
 	echo "TEST_ID x NUM_TEST"
 	echo "TEST_ID:   Test ID"
-	echo "NUM_TESTS: Number of recommended times to run the test"
+	echo "NUM_TESTS: Recommended number of times to run the test"
 	echo
 	echo "0001 x $(get_test_count 0001) - tests proc_dointvec_minmax()"
 	echo "0002 x $(get_test_count 0002) - tests proc_dostring()"
@@ -884,7 +884,7 @@ usage()
 	echo "Valid tests: 0001-$MAX_TEST"
 	echo ""
 	echo "    all     Runs all tests (default)"
-	echo "    -t      Run test ID the number amount of times is recommended"
+	echo "    -t      Run test ID the recommended number of times"
 	echo "    -w      Watch test ID run until it runs into an error"
 	echo "    -c      Run test ID once"
 	echo "    -s      Run test ID x test-count number of times"
@@ -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 recommended"
+	echo "$TEST_NAME.sh -t 0002    -- Executes test ID 0002 the recommended number of times"
 	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.1
Re: [PATCH sysctl-next v2] selftests/sysctl: fix wording of help messages
Posted by Joel Granados 9 months, 3 weeks ago
On Fri, Feb 21, 2025 at 03:51:49PM +0530, Bharadwaj Raju wrote:
> Fix grammar such as "number amount of times is
> recommended" etc -> "the recommended number of
> times".
> 
> Signed-off-by: Bharadwaj Raju <bharadwaj.raju777@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 f6e129a82ffd..db1616857d89 100755
> --- a/tools/testing/selftests/sysctl/sysctl.sh
> +++ b/tools/testing/selftests/sysctl/sysctl.sh
> @@ -857,7 +857,7 @@ list_tests()
>  	echo
>  	echo "TEST_ID x NUM_TEST"
>  	echo "TEST_ID:   Test ID"
> -	echo "NUM_TESTS: Number of recommended times to run the test"
> +	echo "NUM_TESTS: Recommended number of times to run the test"
>  	echo
>  	echo "0001 x $(get_test_count 0001) - tests proc_dointvec_minmax()"
>  	echo "0002 x $(get_test_count 0002) - tests proc_dostring()"
> @@ -884,7 +884,7 @@ usage()
>  	echo "Valid tests: 0001-$MAX_TEST"
>  	echo ""
>  	echo "    all     Runs all tests (default)"
> -	echo "    -t      Run test ID the number amount of times is recommended"
> +	echo "    -t      Run test ID the recommended number of times"
>  	echo "    -w      Watch test ID run until it runs into an error"
>  	echo "    -c      Run test ID once"
>  	echo "    -s      Run test ID x test-count number of times"
> @@ -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 recommended"
> +	echo "$TEST_NAME.sh -t 0002    -- Executes test ID 0002 the recommended number of times"
>  	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.1
> 

pushed this to sysctl-next; thx.

-- 

Joel Granados