Merge "Fix issues in hc2vpp-csit scripts"
authorVanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Thu, 2 Feb 2017 19:04:41 +0000 (19:04 +0000)
committerGerrit Code Review <gerrit@fd.io>
Thu, 2 Feb 2017 19:04:41 +0000 (19:04 +0000)
jjb/hc2vpp/include-raw-hc2vpp-csit-integration.sh
jjb/hc2vpp/include-raw-hc2vpp-csit-verify-prebuild.sh

index 6155a46..915ca8c 100644 (file)
@@ -5,7 +5,8 @@ set -xeu -o pipefail
 if [ ${STREAM} == 'master' ]; then
     git clone https://gerrit.fd.io/r/csit --branch master
 else
-        git clone https://gerrit.fd.io/r/csit --branch 'rls'${STREAM}
+    git clone https://gerrit.fd.io/r/csit --branch 'rls'${STREAM}
+fi
 
 # If the git clone fails, complain clearly and exit
 if [ $? != 0 ]; then
index 6e484f9..3ce8344 100644 (file)
@@ -6,8 +6,9 @@ cd ${WORKSPACE}
 
 # Get CSIT branch from which to test from
 # running build-root/scripts/csit-test-branch
-if [ -x csit-test-branch ]; then
-    CSIT_BRANCH=`csit-test-branch`;
+if [ -f csit-test-branch ]; then
+    chmod +x csit-test-branch
+    CSIT_BRANCH=`./csit-test-branch`
 fi
 
 # Clone csit and start tests