Commit 76caa6ca authored by Wang Long's avatar Wang Long Committed by Jonathan Corbet

Documentation: Update kselftest.txt

Add document for how to install selftests.
Signed-off-by: default avatarWang Long <long.wanglong@huawei.com>
Acked-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 7bc590b2
......@@ -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
======================
......
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