Some minor code optimization in post_test_hook.sh
set -ex is helpful for debugging test progress and make test quit promptly once exception happens Change-Id: I241a23c20f79bcae1d16858cc521971b6388bfe8
This commit is contained in:
parent
b89bc39671
commit
0ba0eae84c
@ -14,6 +14,8 @@
|
||||
|
||||
# This script is executed inside post_test_hook function in devstack gate.
|
||||
|
||||
set -ex
|
||||
|
||||
sudo chmod -R a+rw /opt/stack/
|
||||
(cd $BASE/new/tempest/; sudo virtualenv .venv)
|
||||
source $BASE/new/tempest/.venv/bin/activate
|
||||
|
Loading…
Reference in New Issue
Block a user