Functest: removes redundant exit 0 from fetch creds 53/35253/1
authorTim Rozet <trozet@redhat.com>
Wed, 24 May 2017 04:23:40 +0000 (00:23 -0400)
committerTim Rozet <trozet@redhat.com>
Wed, 24 May 2017 04:23:40 +0000 (00:23 -0400)
Also allows unset and pipefail explicitly in set-functest-env.sh

Change-Id: I06ae718f563fed0596a37cec1b3a78e44ee7ea5d
Signed-off-by: Tim Rozet <trozet@redhat.com>
jjb/functest/set-functest-env.sh
utils/fetch_os_creds.sh

index be596cc..558e248 100755 (executable)
@@ -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
index 6a382a5..a5d5f8f 100755 (executable)
@@ -223,5 +223,3 @@ fi
 
 echo "-------- Credentials: --------"
 cat $dest_path
-
-exit 0