]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/test_crush_bucket.sh: source detect-build-env-vars.sh for settings paths 9984/head
authorKefu Chai <kchai@redhat.com>
Tue, 28 Jun 2016 11:41:58 +0000 (19:41 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 28 Jun 2016 12:55:15 +0000 (20:55 +0800)
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 <kchai@redhat.com>
src/test/test_crush_bucket.sh

index 8ae89721b3042714d2991eb30f709ada9c6e4a58..1ef3d8e68d73582373e6619b956efe2e07b19d3d 100755 (executable)
@@ -5,6 +5,7 @@
 #
 
 # Includes
+source $(dirname $0)/detect-build-env-vars.sh
 source ../qa/workunits/ceph-helpers.sh
 function run() {
     local dir=$1