Whamcloud - gitweb
LU-1973 test: t-f to set LD_LIBRARY_PATH
authorAlex Zhuravlev <bzzz@whamcloud.com>
Tue, 18 Sep 2012 10:50:07 +0000 (14:50 +0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 20 Sep 2012 04:01:12 +0000 (00:01 -0400)
pointing to the directory with liblustreapi.so
so that utilities like ll_dirstripe_verify can
find the library.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I84bf61ed1b987687be79637c5ad126151e0c3aab
Reviewed-on: http://review.whamcloud.com/4027
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Yu Jian <yujian@whamcloud.com>
lustre/tests/test-framework.sh

index f79c954..364e626 100644 (file)
@@ -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}