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