mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
Merge pull request #8691 from flyd1005/master
cleanup: Fix typos, change prefered to preferred Reviewed-by: Sage Weil <sage@redhat.com>
This commit is contained in:
commit
bbdec192f8
qa/workunits
src/ceph-disk
@ -395,7 +395,7 @@ def command(arguments, **kwargs):
|
||||
executable exists and raising a helpful error message
|
||||
if it does not.
|
||||
|
||||
.. note:: This should be the prefered way of calling ``subprocess.Popen``
|
||||
.. note:: This should be the preferred way of calling ``subprocess.Popen``
|
||||
since it provides the caller with the safety net of making sure that
|
||||
executables *will* be found and will error nicely otherwise.
|
||||
|
||||
@ -418,7 +418,7 @@ def command_check_call(arguments):
|
||||
Safely execute a ``subprocess.check_call`` call making sure that the
|
||||
executable exists and raising a helpful error message if it does not.
|
||||
|
||||
.. note:: This should be the prefered way of calling
|
||||
.. note:: This should be the preferred way of calling
|
||||
``subprocess.check_call`` since it provides the caller with the safety net
|
||||
of making sure that executables *will* be found and will error nicely
|
||||
otherwise.
|
||||
|
@ -1447,8 +1447,8 @@ function main() {
|
||||
shopt -s -o xtrace
|
||||
PS4='${BASH_SOURCE[0]}:$LINENO: ${FUNCNAME[0]}: '
|
||||
|
||||
export PATH=${CEPH_BUILD_VIRTUALENV}/ceph-disk-virtualenv/bin:${CEPH_BUILD_VIRTUALENV}/ceph-detect-init-virtualenv/bin:.:$PATH # make sure program from sources are prefered
|
||||
#export PATH=$CEPH_ROOT/src/ceph-disk/virtualenv/bin:$CEPH_ROOT/src/ceph-detect-init/virtualenv/bin:.:$PATH # make sure program from sources are prefered
|
||||
export PATH=${CEPH_BUILD_VIRTUALENV}/ceph-disk-virtualenv/bin:${CEPH_BUILD_VIRTUALENV}/ceph-detect-init-virtualenv/bin:.:$PATH # make sure program from sources are preferred
|
||||
#export PATH=$CEPH_ROOT/src/ceph-disk/virtualenv/bin:$CEPH_ROOT/src/ceph-detect-init/virtualenv/bin:.:$PATH # make sure program from sources are preferred
|
||||
|
||||
export CEPH_CONF=/dev/null
|
||||
unset CEPH_ARGS
|
||||
@ -1470,8 +1470,8 @@ function run_tests() {
|
||||
shopt -s -o xtrace
|
||||
PS4='${BASH_SOURCE[0]}:$LINENO: ${FUNCNAME[0]}: '
|
||||
|
||||
export PATH=${CEPH_BUILD_VIRTUALENV}/ceph-disk-virtualenv/bin:${CEPH_BUILD_VIRTUALENV}/ceph-detect-init-virtualenv/bin:.:$PATH # make sure program from sources are prefered
|
||||
#export PATH=$CEPH_ROOT/src/ceph-disk/virtualenv/bin:$CEPH_ROOT/src/ceph-detect-init/virtualenv/bin:.:$PATH # make sure program from sources are prefered
|
||||
export PATH=${CEPH_BUILD_VIRTUALENV}/ceph-disk-virtualenv/bin:${CEPH_BUILD_VIRTUALENV}/ceph-detect-init-virtualenv/bin:.:$PATH # make sure program from sources are preferred
|
||||
#export PATH=$CEPH_ROOT/src/ceph-disk/virtualenv/bin:$CEPH_ROOT/src/ceph-detect-init/virtualenv/bin:.:$PATH # make sure program from sources are preferred
|
||||
|
||||
export CEPH_MON="127.0.0.1:7109" # git grep '\<7109\>' : there must be only one
|
||||
export CEPH_ARGS
|
||||
|
@ -406,7 +406,7 @@ def command(arguments, **kwargs):
|
||||
executable exists and raising a helpful error message
|
||||
if it does not.
|
||||
|
||||
.. note:: This should be the prefered way of calling ``subprocess.Popen``
|
||||
.. note:: This should be the preferred way of calling ``subprocess.Popen``
|
||||
since it provides the caller with the safety net of making sure that
|
||||
executables *will* be found and will error nicely otherwise.
|
||||
|
||||
@ -429,7 +429,7 @@ def command_check_call(arguments):
|
||||
Safely execute a ``subprocess.check_call`` call making sure that the
|
||||
executable exists and raising a helpful error message if it does not.
|
||||
|
||||
.. note:: This should be the prefered way of calling
|
||||
.. note:: This should be the preferred way of calling
|
||||
``subprocess.check_call`` since it provides the caller with the safety net
|
||||
of making sure that executables *will* be found and will error nicely
|
||||
otherwise.
|
||||
|
@ -35,7 +35,7 @@ function teardown_btrfs() {
|
||||
|
||||
PS4='${BASH_SOURCE[0]}:$LINENO: ${FUNCNAME[0]}: '
|
||||
|
||||
export PATH=..:.:$PATH # make sure program from sources are prefered
|
||||
export PATH=..:.:$PATH # make sure program from sources are preferred
|
||||
export PATH=../ceph-detect-init/virtualenv/bin:$PATH
|
||||
export PATH=virtualenv/bin:$PATH
|
||||
DIR=test-ceph-disk
|
||||
|
Loading…
Reference in New Issue
Block a user