Messages in this thread Patch in this message | | | From | Frederic Weisbecker <> | Subject | [PATCH 09/10] selftests: Enter each directories before executing selftests | Date | Wed, 1 Feb 2012 04:37:49 +0100 |
| |
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
| |