diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2018-11-04 17:06:23 -0500 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2018-11-07 17:51:09 -0500 |
commit | c284d42850fc947dc8e0d327149f65c590900364 (patch) | |
tree | b6d1c7c153218755cba507903c4037fe6a7e8b6a /Documentation/dev-tools | |
parent | 9d436edee25481e80202242ddbb72c847da709a7 (diff) |
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: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Shuah Khan <shuah@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/dev-tools')
-rw-r--r-- | Documentation/dev-tools/kselftest.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst index dad1bb8711e2..7756f7a7c23b 100644 --- a/Documentation/dev-tools/kselftest.rst +++ b/Documentation/dev-tools/kselftest.rst | |||
@@ -9,7 +9,7 @@ and booting a kernel. | |||
9 | 9 | ||
10 | On some systems, hot-plug tests could hang forever waiting for cpu and | 10 | On some systems, hot-plug tests could hang forever waiting for cpu and |
11 | memory to be ready to be offlined. A special hot-plug target is created | 11 | memory to be ready to be offlined. A special hot-plug target is created |
12 | to run full range of hot-plug tests. In default mode, hot-plug tests run | 12 | to run the full range of hot-plug tests. In default mode, hot-plug tests run |
13 | in safe mode with a limited scope. In limited mode, cpu-hotplug test is | 13 | in safe mode with a limited scope. In limited mode, cpu-hotplug test is |
14 | run on a single cpu as opposed to all hotplug capable cpus, and memory | 14 | run on a single cpu as opposed to all hotplug capable cpus, and memory |
15 | hotplug test is run on 2% of hotplug capable memory instead of 10%. | 15 | 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 | Install selftests | 89 | Install selftests |
90 | ================= | 90 | ================= |
91 | 91 | ||
92 | You can use kselftest_install.sh tool installs selftests in default | 92 | You can use the kselftest_install.sh tool to install selftests in the |
93 | location which is tools/testing/selftests/kselftest or a user specified | 93 | default location, which is tools/testing/selftests/kselftest, or in a |
94 | location. | 94 | user specified location. |
95 | 95 | ||
96 | To install selftests in default location:: | 96 | To install selftests in default location:: |
97 | 97 | ||
@@ -109,7 +109,7 @@ Running installed selftests | |||
109 | Kselftest install as well as the Kselftest tarball provide a script | 109 | Kselftest install as well as the Kselftest tarball provide a script |
110 | named "run_kselftest.sh" to run the tests. | 110 | named "run_kselftest.sh" to run the tests. |
111 | 111 | ||
112 | You can simply do the following to run the installed Kselftests. Please | 112 | You can simply do the following to run the installed Kselftests. Please |
113 | note some tests will require root privileges:: | 113 | note some tests will require root privileges:: |
114 | 114 | ||
115 | $ cd kselftest | 115 | $ cd kselftest |
@@ -139,7 +139,7 @@ Contributing new tests (details) | |||
139 | default. | 139 | default. |
140 | 140 | ||
141 | TEST_CUSTOM_PROGS should be used by tests that require custom build | 141 | TEST_CUSTOM_PROGS should be used by tests that require custom build |
142 | rule and prevent common build rule use. | 142 | rules and prevent common build rule use. |
143 | 143 | ||
144 | TEST_PROGS are for test shell scripts. Please ensure shell script has | 144 | TEST_PROGS are for test shell scripts. Please ensure shell script has |
145 | its exec bit set. Otherwise, lib.mk run_tests will generate a warning. | 145 | its exec bit set. Otherwise, lib.mk run_tests will generate a warning. |