Skip to content

Commit

Permalink
Documentation: Update kselftest.txt
Browse files Browse the repository at this point in the history
Add document for how to install selftests.

Signed-off-by: Wang Long <[email protected]>
Acked-by: Shuah Khan <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
datawolf authored and Jonathan Corbet committed Sep 24, 2015
1 parent 7bc590b commit 76caa6c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Documentation/kselftest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
======================

Expand Down

0 comments on commit 76caa6c

Please sign in to comment.