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: I0b507fa5fd85d8bcff2b3b682854020d0075d6f9
This commit is contained in:
zhangyanxian
2016-08-25 07:23:49 +00:00
parent 6f46088a65
commit 78b0a41de3

View File

@@ -15,6 +15,9 @@
# This script is executed inside post_test_hook function in devstack gate.
# Install packages from test-requirements.txt
set -ex
sudo pip install -r /opt/stack/new/barbican/test-requirements.txt
cd /opt/stack/new/barbican/functionaltests