Documentation: Update kselftest.txt
authorWang Long <long.wanglong@huawei.com>
Wed, 23 Sep 2015 09:35:25 +0000 (09:35 +0000)
committerJonathan Corbet <corbet@lwn.net>
Thu, 24 Sep 2015 21:51:53 +0000 (15:51 -0600)
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>
Documentation/kselftest.txt

index a87d840bacfe11df785995eaee5698f23d565f94..9bbbcdc598d9ffa4b0a859b533d5eac9f7bf6994 100644 (file)
@@ -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
 ======================