summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Herve <therve@redhat.com>2016-07-11 13:43:19 +0200
committerThomas Herve <therve@redhat.com>2016-07-11 13:43:19 +0200
commit706cc04cf4581dfcdbf42c1791d6a78c80a806e9 (patch)
tree34786006aa74f03d89047411644efc27cc787b4d
parentda7823208f46dc284be85b341d1a6a7209b54ddf (diff)
downloadheat-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-xheat_integrationtests/post_test_hook.sh2
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