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>
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
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