use . instead of source.
Code conventions: Use “.” to source script files When you have to source a script file, for example, a credentials file to gain access to user-only or admin-only CLI commands, use . instead of source. See more: http://docs.openstack.org/contributor-guide/writing-style/code-conventions Change-Id: Ia823df50f65b26695458a509a0e0d94a4646afb3
This commit is contained in:
parent
d7a54d69f9
commit
3186a72942
|
@ -496,7 +496,7 @@ function configure_murano_tempest_plugin() {
|
|||
# - configure_murano_dashboard
|
||||
# - cleanup_murano_dashboard
|
||||
|
||||
source $TOP_DIR/lib/horizon
|
||||
. $TOP_DIR/lib/horizon
|
||||
|
||||
# Defaults
|
||||
# --------
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
# This script is executed inside pre_test_hook function in devstack gate.
|
||||
|
||||
# Install Murano devstack integration
|
||||
source ./pre_test_hook_common.sh
|
||||
. ./pre_test_hook_common.sh
|
||||
MURANO_BASE=/opt/stack/new/murano/contrib/devstack
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install Congress devstack integration
|
||||
source ./pre_test_hook_common.sh
|
||||
. ./pre_test_hook_common.sh
|
||||
CONGRESS_BASE=/opt/stack/new/congress/contrib/devstack
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install Mistral devstack integration
|
||||
source ./pre_test_hook_common.sh
|
||||
. ./pre_test_hook_common.sh
|
||||
MISTRAL_BASE=/opt/stack/new/mistral/contrib/devstack
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
source ./run_tests_common.sh
|
||||
. ./run_tests_common.sh
|
||||
|
||||
MURANO_ROOT=/opt/stack/new/murano/murano
|
||||
# Using .venv for tempest installation
|
||||
pushd $TEMPEST_DIR
|
||||
python "$MURANO_ROOT/tools/install_venv.py"
|
||||
source "$MURANO_ROOT/.venv/bin/activate"
|
||||
. "$MURANO_ROOT/.venv/bin/activate"
|
||||
pip install nose
|
||||
nosetests -sv "$MURANO_ROOT/tests/functional/api/v1"
|
||||
RETVAL=$?
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
source ./run_tests_common.sh
|
||||
. ./run_tests_common.sh
|
||||
|
||||
# Add tempest source tree to PYTHONPATH
|
||||
export PYTHONPATH=$PYTHONPATH:$TEMPEST_DIR
|
||||
|
|
Loading…
Reference in New Issue