From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754098AbbIWJfr (ORCPT ); Wed, 23 Sep 2015 05:35:47 -0400 Received: from szxga03-in.huawei.com ([119.145.14.66]:37957 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753250AbbIWJfo (ORCPT ); Wed, 23 Sep 2015 05:35:44 -0400 From: Wang Long To: , CC: , , , , Subject: [PATCH] Documentation: Update kselftest.txt Date: Wed, 23 Sep 2015 09:35:25 +0000 Message-ID: <1443000925-119505-1-git-send-email-long.wanglong@huawei.com> X-Mailer: git-send-email 1.8.3.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.107.193.248] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090202.5602726E.003F,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 32fdcab01255c5b59ad7b6f0d946a5eb Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add document for how to install selftests. Signed-off-by: Wang Long --- Documentation/kselftest.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/kselftest.txt b/Documentation/kselftest.txt index a87d840..9bbbcdc 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 ====================== -- 1.8.3.4