]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
tests: ceph-disk tests may use system ceph-{mon,osd}
authorLoic Dachary <ldachary@redhat.com>
Mon, 17 Aug 2015 20:22:12 +0000 (22:22 +0200)
committerLoic Dachary <ldachary@redhat.com>
Sat, 29 Aug 2015 00:37:51 +0000 (02:37 +0200)
commitf9cbd792f8a8faa922b9fdd00ba1e07e32945706
tree1c6046bfee394d3ef22d31f796cb83643584338c
parent42ad86e14e352f2a3a33e774224f1789f268da83
tests: ceph-disk tests may use system ceph-{mon,osd}

Allow ceph-disk.sh to run to test ceph as installed from packages.

When run from sources, ceph-disk.sh is expected to use the binaries from
the source tree. It is enough to prepend . to the PATH. There is no need
to prefix each binary with ./

The virtualenv is also only necessary when running from sources and
setting it up for ceph-detect-init is only done if in the source tree.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
src/test/ceph-disk.sh