Commit c284d428 authored by Randy Dunlap's avatar Randy Dunlap Committed by Jonathan Corbet

Documentation/dev-tools: clean up kselftest.rst

This is a small cleanup to kselftest.rst:

- Fix some language typos in the usage instructions.
- Change one non-ASCII space to an ASCII space.
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: default avatarShuah Khan <shuah@kernel.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 9d436ede
...@@ -9,7 +9,7 @@ and booting a kernel. ...@@ -9,7 +9,7 @@ and booting a kernel.
On some systems, hot-plug tests could hang forever waiting for cpu and On some systems, hot-plug tests could hang forever waiting for cpu and
memory to be ready to be offlined. A special hot-plug target is created memory to be ready to be offlined. A special hot-plug target is created
to run full range of hot-plug tests. In default mode, hot-plug tests run to run the full range of hot-plug tests. In default mode, hot-plug tests run
in safe mode with a limited scope. In limited mode, cpu-hotplug test is in safe mode with a limited scope. In limited mode, cpu-hotplug test is
run on a single cpu as opposed to all hotplug capable cpus, and memory run on a single cpu as opposed to all hotplug capable cpus, and memory
hotplug test is run on 2% of hotplug capable memory instead of 10%. hotplug test is run on 2% of hotplug capable memory instead of 10%.
...@@ -89,9 +89,9 @@ Note that some tests will require root privileges. ...@@ -89,9 +89,9 @@ Note that some tests will require root privileges.
Install selftests Install selftests
================= =================
You can use kselftest_install.sh tool installs selftests in default You can use the kselftest_install.sh tool to install selftests in the
location which is tools/testing/selftests/kselftest or a user specified default location, which is tools/testing/selftests/kselftest, or in a
location. user specified location.
To install selftests in default location:: To install selftests in default location::
...@@ -109,7 +109,7 @@ Running installed selftests ...@@ -109,7 +109,7 @@ Running installed selftests
Kselftest install as well as the Kselftest tarball provide a script Kselftest install as well as the Kselftest tarball provide a script
named "run_kselftest.sh" to run the tests. named "run_kselftest.sh" to run the tests.
You can simply do the following to run the installed Kselftests. Please You can simply do the following to run the installed Kselftests. Please
note some tests will require root privileges:: note some tests will require root privileges::
$ cd kselftest $ cd kselftest
...@@ -139,7 +139,7 @@ Contributing new tests (details) ...@@ -139,7 +139,7 @@ Contributing new tests (details)
default. default.
TEST_CUSTOM_PROGS should be used by tests that require custom build TEST_CUSTOM_PROGS should be used by tests that require custom build
rule and prevent common build rule use. rules and prevent common build rule use.
TEST_PROGS are for test shell scripts. Please ensure shell script has TEST_PROGS are for test shell scripts. Please ensure shell script has
its exec bit set. Otherwise, lib.mk run_tests will generate a warning. its exec bit set. Otherwise, lib.mk run_tests will generate a warning.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment