From: Wang Long Date: Wed, 23 Sep 2015 09:35:25 +0000 (+0000) Subject: Documentation: Update kselftest.txt X-Git-Tag: firefly_0821_release~176^2~783^2~16 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=76caa6ca99a6e56f5b247f4f5e54263caa13cb5e;p=firefly-linux-kernel-4.4.55.git Documentation: Update kselftest.txt Add document for how to install selftests. Signed-off-by: Wang Long Acked-by: Shuah Khan Signed-off-by: Jonathan Corbet --- 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 ======================