]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test: set a default $CEPH_ROOT env variable 8645/head
authorKefu Chai <kchai@redhat.com>
Mon, 18 Apr 2016 13:48:45 +0000 (21:48 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 18 Apr 2016 16:19:07 +0000 (00:19 +0800)
commit558863ad6d6065de95f7e21faaeef71d5d52310e
tree57456dd0b9b7961c5fa845d512142795351bfda3
parent985d3a552ad4cffeec02b23d7f1b7c533f9d0a77
test: set a default $CEPH_ROOT env variable

in cf24535, we use $CEPH_ROOT to specify the $top_srcdir to unify
cmake and autotools, but this breaks ceph-qa-suite/tasks/workunit.py,
as it only clones the necessary qa/workunits directory, and does not
pass $CEPH_ROOT to the test scripts. so we need to set a default
$CEPH_ROOT if it is not set.

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/cephtool/test.sh
src/test/cephtool-test-mds.sh
src/test/cephtool-test-mon.sh
src/test/cephtool-test-osd.sh