diff options
author | Thomas Herve <therve@redhat.com> | 2016-07-11 13:43:19 +0200 |
---|---|---|
committer | Thomas Herve <therve@redhat.com> | 2016-07-11 13:43:19 +0200 |
commit | 706cc04cf4581dfcdbf42c1791d6a78c80a806e9 (patch) | |
tree | 34786006aa74f03d89047411644efc27cc787b4d | |
parent | da7823208f46dc284be85b341d1a6a7209b54ddf (diff) | |
download | heat-706cc04cf4581dfcdbf42c1791d6a78c80a806e9.tar.gz |
Propage errors in post test hook
If prepare scripts fail, we don't want to run the tests. Add error
option to exit early.
Change-Id: I23a0f51f8252beee7c1cd7a9bdf2002884266a71
-rwxr-xr-x | heat_integrationtests/post_test_hook.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heat_integrationtests/post_test_hook.sh b/heat_integrationtests/post_test_hook.sh index 5d419d37d..4f08b7ba6 100755 --- a/heat_integrationtests/post_test_hook.sh +++ b/heat_integrationtests/post_test_hook.sh @@ -14,7 +14,7 @@ # This script is executed inside post_test_hook function in devstack gate. -set -x +set -ex export DEST=${DEST:-/opt/stack/new} source $DEST/devstack/openrc admin admin |