From: Christian Babeux Date: Wed, 3 Oct 2012 16:36:57 +0000 (-0400) Subject: Tests: Fix LD_PRELOAD library lookup path for health tests X-Git-Tag: v2.1.0-rc5~30 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=a863986c475194160928667627e9d8bacbdc1506 Tests: Fix LD_PRELOAD library lookup path for health tests The LD_PRELOAD library lookup was failing when the tests were not runned in the health directory. Signed-off-by: Christian Babeux Signed-off-by: David Goulet --- diff --git a/tests/tools/health/health_thread_exit b/tests/tools/health/health_thread_exit index dab6b6420..de783ad08 100755 --- a/tests/tools/health/health_thread_exit +++ b/tests/tools/health/health_thread_exit @@ -29,7 +29,7 @@ source $TESTDIR/utils.sh print_test_banner "$TEST_DESC" -if [ ! -f "$SESSIOND_PRELOAD" ]; then +if [ ! -f "$CURDIR/$SESSIOND_PRELOAD" ]; then echo -e "libhealthexit.so not available for this test. Skipping." exit 0 fi diff --git a/tests/tools/health/health_thread_stall b/tests/tools/health/health_thread_stall index d87089581..5fd39ed6f 100755 --- a/tests/tools/health/health_thread_stall +++ b/tests/tools/health/health_thread_stall @@ -29,7 +29,7 @@ source $TESTDIR/utils.sh print_test_banner "$TEST_DESC" -if [ ! -f "$SESSIOND_PRELOAD" ]; then +if [ ! -f "$CURDIR/$SESSIOND_PRELOAD" ]; then echo -e "libhealthstall.so not available for this test. Skipping." exit 0 fi