blob: 9bc42ad3ea313898303ea0f0f16ad88e8f547227 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/bash
set -xeu -o pipefail
# Clone csit and start tests
git clone https://gerrit.fd.io/r/csit --branch master
# If the git clone fails, complain clearly and exit
if [ $? != 0 ]; then
echo "Failed to run: git clone https://gerrit.fd.io/r/csit --branch master"
exit
fi
cd csit
# execute csit bootstrap script if it exists
if [ ! -e bootstrap-hc2vpp-integration.sh ]
then
echo 'ERROR: No bootstrap-hc2vpp-integration.sh found'
exit 1
else
# make sure that bootstrap.sh is executable
chmod +x bootstrap-hc2vpp-integration.sh
# run the script
./bootstrap-hc2vpp-integration.sh
fi
# vim: ts=4 ts=4 sts=4 et :
|