From 706cc04cf4581dfcdbf42c1791d6a78c80a806e9 Mon Sep 17 00:00:00 2001 From: Thomas Herve Date: Mon, 11 Jul 2016 13:43:19 +0200 Subject: 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 --- heat_integrationtests/post_test_hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1