From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755101AbbIWNfk (ORCPT ); Wed, 23 Sep 2015 09:35:40 -0400 Received: from lists.s-osg.org ([54.187.51.154]:38822 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754920AbbIWNfi (ORCPT ); Wed, 23 Sep 2015 09:35:38 -0400 Subject: Re: [PATCH] Documentation: Update kselftest.txt To: Wang Long , corbet@lwn.net References: <1443000925-119505-1-git-send-email-long.wanglong@huawei.com> Cc: wanglong@laoqinren.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, peifeiyue@huawei.com, Shuah Khan From: Shuah Khan Organization: Samsung Open Source Group Message-ID: <5602AAA9.5080003@osg.samsung.com> Date: Wed, 23 Sep 2015 07:35:37 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1443000925-119505-1-git-send-email-long.wanglong@huawei.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/23/2015 03:35 AM, Wang Long wrote: > Add document for how to install selftests. > > Signed-off-by: Wang Long Thanks for doing this. Here is my Ack for Jon to take this though the Documentation tree: Acked-by: Shuah Khan -- Shuah > --- > 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 > ====================== > > -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh@osg.samsung.com | (970) 217-8978