5 if [[ -f csit-test-branch ]]; then
6 chmod +x csit-test-branch
7 CSIT_BRANCH=`./csit-test-branch`
13 git clone https://gerrit.fd.io/r/csit --branch ${CSIT_BRANCH}
15 # If the git clone fails, complain clearly and exit
16 if [[ $? != 0 ]]; then
17 echo "Failed to run: git clone https://gerrit.fd.io/r/csit --branch ${CSIT_BRANCH}"
22 # execute csit bootstrap script if it exists
23 if [[ ! -e bootstrap-hc2vpp-integration.sh ]]
25 echo 'ERROR: No bootstrap-hc2vpp-integration.sh found'
28 # make sure that bootstrap.sh is executable
29 chmod +x bootstrap-hc2vpp-integration.sh
31 ./bootstrap-hc2vpp-integration.sh ${STREAM} ${OS}
34 # vim: ts=4 ts=4 sts=4 et :