From: Kefu Chai Date: Tue, 28 Jun 2016 11:41:58 +0000 (+0800) Subject: test/test_crush_bucket.sh: source detect-build-env-vars.sh for settings paths X-Git-Tag: v11.0.0~9^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F9984%2Fhead;p=ceph.git test/test_crush_bucket.sh: source detect-build-env-vars.sh for settings paths this fixes errors like ../qa/workunits/ceph-helpers.sh:354: run_mon: ceph-mon --id a --mon-osd-full-ratio=.99 --mon-data-avail-crit=1 --paxos-propose-interval=0.1 --osd-crush-chooseleaf-type=0 --erasure-code-dir= --plugin-dir= --debug-mon 20 --debug-ms 20 --debug-paxos 20 --chdir= --mon-data=testdir/testcrushbucket/a '--log-file=testdir/testcrushbucket/$name.log' '--admin-socket=testdir/testcrushbucket/$cluster-$name.asok' --mon-cluster-log-file=testdir/testcrushbucket/log --run-dir=testdir/testcrushbucket '--pid-file=testdir/testcrushbucket/$name.pid' 2016-06-28 11:24:24.105884 2b1bbd3d0380 -1 load dlopen(/libec_jerasure.so): /libec_jerasure.so: cannot open shared object file: No such file or directory ../qa/workunits/ceph-helpers.sh:371: run_mon: return 1 Signed-off-by: Kefu Chai --- diff --git a/src/test/test_crush_bucket.sh b/src/test/test_crush_bucket.sh index 8ae89721b304..1ef3d8e68d73 100755 --- a/src/test/test_crush_bucket.sh +++ b/src/test/test_crush_bucket.sh @@ -5,6 +5,7 @@ # # Includes +source $(dirname $0)/detect-build-env-vars.sh source ../qa/workunits/ceph-helpers.sh function run() { local dir=$1