From efe68a7d2781f79b240a6f1bd3a1dd3798775df0 Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Wed, 24 May 2017 00:23:40 -0400 Subject: Functest: removes redundant exit 0 from fetch creds Also allows unset and pipefail explicitly in set-functest-env.sh Change-Id: I06ae718f563fed0596a37cec1b3a78e44ee7ea5d Signed-off-by: Tim Rozet --- jjb/functest/set-functest-env.sh | 3 +++ utils/fetch_os_creds.sh | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jjb/functest/set-functest-env.sh b/jjb/functest/set-functest-env.sh index be596cc2d..558e2487d 100755 --- a/jjb/functest/set-functest-env.sh +++ b/jjb/functest/set-functest-env.sh @@ -1,6 +1,9 @@ #!/bin/bash set -e +set +u +set +o pipefail + [[ $CI_DEBUG == true ]] && redirect="/dev/stdout" || redirect="/dev/null" # Prepare OpenStack credentials volume diff --git a/utils/fetch_os_creds.sh b/utils/fetch_os_creds.sh index 6a382a56c..a5d5f8f3b 100755 --- a/utils/fetch_os_creds.sh +++ b/utils/fetch_os_creds.sh @@ -223,5 +223,3 @@ fi echo "-------- Credentials: --------" cat $dest_path - -exit 0 -- cgit 1.2.3-korg