From a863986c475194160928667627e9d8bacbdc1506 Mon Sep 17 00:00:00 2001 From: Christian Babeux Date: Wed, 3 Oct 2012 12:36:57 -0400 Subject: [PATCH] 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 --- tests/tools/health/health_thread_exit | 2 +- tests/tools/health/health_thread_stall | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1