summaryrefslogtreecommitdiffstats
path: root/Documentation/kselftest.txt
diff options
context:
space:
mode:
authorWang Long <long.wanglong@huawei.com>2015-09-23 09:35:25 +0000
committerJonathan Corbet <corbet@lwn.net>2015-09-24 15:51:53 -0600
commit76caa6ca99a6e56f5b247f4f5e54263caa13cb5e (patch)
treec2cdad80c31ec5fdd3c2d069bbb19574aa0dbc86 /Documentation/kselftest.txt
parent7bc590b2fc057f3c48b618c739517bf1af9a28fe (diff)
downloadlinux-76caa6ca99a6e56f5b247f4f5e54263caa13cb5e.tar.bz2
Documentation: Update kselftest.txt
Add document for how to install selftests. Signed-off-by: Wang Long <long.wanglong@huawei.com> Acked-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/kselftest.txt')
-rw-r--r--Documentation/kselftest.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/kselftest.txt b/Documentation/kselftest.txt
index a87d840bacfe..9bbbcdc598d9 100644
--- a/Documentation/kselftest.txt
+++ b/Documentation/kselftest.txt
@@ -54,6 +54,22 @@ To run the hotplug tests:
- note that some tests will require root privileges.
+Install selftests
+=================
+
+You can use kselftest_install.sh tool installs selftests in default
+location which is tools/testing/selftests/kselftest or an user specified
+location.
+
+To install selftests in default location:
+ $ cd tools/testing/selftests
+ $ ./kselftest_install.sh
+
+To install selftests in an user specified location:
+ $ cd tools/testing/selftests
+ $ ./kselftest_install.sh install_dir
+
+
Contributing new tests
======================