summaryrefslogtreecommitdiffstats
path: root/Documentation/dev-tools
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2018-11-04 17:06:23 -0500
committerJonathan Corbet <corbet@lwn.net>2018-11-07 17:51:09 -0500
commitc284d42850fc947dc8e0d327149f65c590900364 (patch)
treeb6d1c7c153218755cba507903c4037fe6a7e8b6a /Documentation/dev-tools
parent9d436edee25481e80202242ddbb72c847da709a7 (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.rst12
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
10On some systems, hot-plug tests could hang forever waiting for cpu and 10On some systems, hot-plug tests could hang forever waiting for cpu and
11memory to be ready to be offlined. A special hot-plug target is created 11memory to be ready to be offlined. A special hot-plug target is created
12to run full range of hot-plug tests. In default mode, hot-plug tests run 12to run the full range of hot-plug tests. In default mode, hot-plug tests run
13in safe mode with a limited scope. In limited mode, cpu-hotplug test is 13in safe mode with a limited scope. In limited mode, cpu-hotplug test is
14run on a single cpu as opposed to all hotplug capable cpus, and memory 14run on a single cpu as opposed to all hotplug capable cpus, and memory
15hotplug test is run on 2% of hotplug capable memory instead of 10%. 15hotplug test is run on 2% of hotplug capable memory instead of 10%.
@@ -89,9 +89,9 @@ Note that some tests will require root privileges.
89Install selftests 89Install selftests
90================= 90=================
91 91
92You can use kselftest_install.sh tool installs selftests in default 92You can use the kselftest_install.sh tool to install selftests in the
93location which is tools/testing/selftests/kselftest or a user specified 93default location, which is tools/testing/selftests/kselftest, or in a
94location. 94user specified location.
95 95
96To install selftests in default location:: 96To install selftests in default location::
97 97
@@ -109,7 +109,7 @@ Running installed selftests
109Kselftest install as well as the Kselftest tarball provide a script 109Kselftest install as well as the Kselftest tarball provide a script
110named "run_kselftest.sh" to run the tests. 110named "run_kselftest.sh" to run the tests.
111 111
112You can simply do the following to run the installed Kselftests. Please 112You can simply do the following to run the installed Kselftests. Please
113note some tests will require root privileges:: 113note 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.