lkml.org 
[lkml]   [2012]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 09/10] selftests: Enter each directories before executing selftests
    Date
    This way the selftests can launch local programs from their
    directory without trying to guess their absolute path.

    Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Kirill A. Shutemov <kirill@shutemov.name>
    Cc: Paul Menage <paul@paulmenage.org>
    Cc: Li Zefan <lizf@cn.fujitsu.com>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: Aditya Kali <adityakali@google.com>
    Cc: Oleg Nesterov <oleg@redhat.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Tim Hockin <thockin@hockin.org>
    Cc: Tejun Heo <tj@kernel.org>
    Cc: Containers <containers@lists.linux-foundation.org>
    Cc: Glauber Costa <glommer@gmail.com>
    Cc: Cgroups <cgroups@vger.kernel.org>
    Cc: Daniel J Walsh <dwalsh@redhat.com>
    Cc: "Daniel P. Berrange" <berrange@redhat.com>
    Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
    Cc: Max Kellermann <mk@cm4all.com>
    Cc: Mandeep Singh Baines <msb@chromium.org>
    ---
    tools/testing/selftests/run_tests | 4 +++-
    1 files changed, 3 insertions(+), 1 deletions(-)

    diff --git a/tools/testing/selftests/run_tests b/tools/testing/selftests/run_tests
    index 320718a..19043d3 100644
    --- a/tools/testing/selftests/run_tests
    +++ b/tools/testing/selftests/run_tests
    @@ -4,5 +4,7 @@ TARGETS=breakpoints

    for TARGET in $TARGETS
    do
    - $TARGET/run_test
    + cd $TARGET
    + ./run_test
    + cd ..
    done
    --
    1.7.5.4


    \
     
     \ /
      Last update: 2012-02-01 04:41    [W:3.953 / U:1.556 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site