Skip to contentSkip to conversation

Documentation: Update kselftest.txt

PATCH Applied Wang Long 3 participants 3 messages Sep 23, 2015 – Sep 24, 2015 Documentation

lore
Share & tools
lore

Wang Long

author
#0 lore raw

PATCH 1/1 Documentation: Update kselftest.txt

Add document for how to install selftests.

---
 Documentation/kselftest.txt | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
Documentation/kselftest.txt +16 -0
index a87d840..9bbbcdc 100644
@@ -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
 ======================
 
Signature · 1 line
1.8.3.4
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Wang Long

Add document for how to install selftests.

Thanks for doing this. Here is my Ack for Jon to take this though the Documentation tree:

-- Shuah

Quoted 32 lines
---
 Documentation/kselftest.txt | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
Documentation/kselftest.txt +16 -0
index a87d840..9bbbcdc 100644
@@ -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
 ======================
 
Signature · 5 lines
Shuah Khan
Sr. Linux Kernel Developer
Open Source Innovation Group
Samsung Research America (Silicon Valley)
[email protected] | (970) 217-8978