xci: Set options in run-functest.sh 89/53289/1
authorFatih Degirmenci <fdegir@gmail.com>
Thu, 8 Mar 2018 08:51:42 +0000 (09:51 +0100)
committerFatih Degirmenci <fdegir@gmail.com>
Thu, 8 Mar 2018 08:55:06 +0000 (09:55 +0100)
Functest healthcheck job actually fails but due to not setting
options properly in run-functest.sh, we failed to notice this.

Please note that this patch will enable changes to be blocked
since creation of external network and associated subnet fail,
due to an upstream issue. This causes functest healthcheck to
fail which in turn results in Verified-1 on Gerrit.

Change-Id: I32eeb422895930d039d3289ffb65e10763db9c4b
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
jjb/xci/xci-run-functest.sh

index 9bcc469..d57a625 100755 (executable)
@@ -7,6 +7,9 @@
 # which accompanies this distribution, and is available at
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
+set -o errexit
+set -o nounset
+set -o pipefail
 
 #----------------------------------------------------------------------
 # This script is used by CI and executed by Jenkins jobs.