Tests: Fix LD_PRELOAD library lookup path for health tests
authorChristian Babeux <christian.babeux@efficios.com>
Wed, 3 Oct 2012 16:36:57 +0000 (12:36 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Wed, 3 Oct 2012 16:37:57 +0000 (12:37 -0400)
The LD_PRELOAD library lookup was failing when the tests were not runned
in the health directory.

Signed-off-by: Christian Babeux <christian.babeux@efficios.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
tests/tools/health/health_thread_exit
tests/tools/health/health_thread_stall

index dab6b6420f8f292a3f1dc94e013ff8ab9b2d0a5f..de783ad0847c6622d5b320d495842948501817e2 100755 (executable)
@@ -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
index d870895819b3614d8730d77fa4a4a4b9e4ac9fdc..5fd39ed6fd20f8516576e26e42a19f12567c4662 100755 (executable)
@@ -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
This page took 0.025362 seconds and 4 git commands to generate.