From: Alex Zhuravlev Date: Tue, 18 Sep 2012 10:50:07 +0000 (+0400) Subject: LU-1973 test: t-f to set LD_LIBRARY_PATH X-Git-Tag: 2.3.51~74 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=96f2f06115da11ec0928ce3d0f3e010cef8adaee LU-1973 test: t-f to set LD_LIBRARY_PATH pointing to the directory with liblustreapi.so so that utilities like ll_dirstripe_verify can find the library. Signed-off-by: Alex Zhuravlev Change-Id: I84bf61ed1b987687be79637c5ad126151e0c3aab Reviewed-on: http://review.whamcloud.com/4027 Tested-by: Hudson Reviewed-by: Andreas Dilger Tested-by: Maloo Reviewed-by: Yu Jian --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index f79c954..364e626 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -29,6 +29,8 @@ LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)} . $LUSTRE/tests/functions.sh . $LUSTRE/tests/yaml.sh +export LD_LIBRARY_PATH=${LUSTRE}/utils:${LD_LIBRARY_PATH} + LUSTRE_TESTS_CFG_DIR=${LUSTRE_TESTS_CFG_DIR:-${LUSTRE}/tests/cfg} EXCEPT_LIST_FILE=${EXCEPT_LIST_FILE:-${LUSTRE_TESTS_CFG_DIR}/tests-to-skip.sh}