Fix gate hook scripts to use script dir to source commons
Change-Id: I383d3e87babf8035ae5f0e2bff3395a661327bb9
This commit is contained in:
parent
16370f1a13
commit
07f2140300
|
@ -3,7 +3,9 @@
|
|||
# This script will be executed inside post_test_hook function in devstack gate
|
||||
|
||||
set -x
|
||||
source commons $@
|
||||
|
||||
DIR=${BASH_SOURCE%/*}
|
||||
source $DIR/commons $@
|
||||
|
||||
set +e
|
||||
cd /opt/stack/new/app-catalog-ui
|
||||
|
|
|
@ -3,4 +3,6 @@
|
|||
# This script will be executed inside pre_test_hook function in devstack gate
|
||||
|
||||
set -ex
|
||||
source commons $@
|
||||
|
||||
DIR=${BASH_SOURCE%/*}
|
||||
source $DIR/commons $@
|
Loading…
Reference in New Issue