]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: ceph_test_objectstore: do not override plugin-dir if not necessary
authorKefu Chai <kchai@redhat.com>
Mon, 13 Jun 2016 04:26:29 +0000 (12:26 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 15 Jun 2016 13:23:40 +0000 (21:23 +0800)
commit9c4d1beca15a4b2b7c5564deb091668c2a88147e
tree561dd8cda713ee85c9da80e1da8f9a3aaee8bbdc
parent7833e5c46896c72ac8b9584ad20df53b08f93b6e
test: ceph_test_objectstore: do not override plugin-dir if not necessary

there is chance that we launch the test with the plugins installed in
`/usr/${lib}/ceph'. and we don't have ".lib" or $CEPH_LIB for
ceph_test_objectstore, in this case, we should leave plugin-dir
unchanged. it will work just fine if ceph-base or ceph-common is
installed.

Fixes: http://tracker.ceph.com/issues/16254
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/objectstore/store_test.cc