FIX: Copy-paste typo in 2n-10ge2p1x710-eth-l2bd-6ch-48vh-24vm1t-vppip4-ndrpdr.robot
[csit.git] / bootstrap-multilink.sh
1 #!/bin/bash
2 # Copyright (c) 2016 Cisco and/or its affiliates.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at:
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15
16
17 sudo apt-get -y install python-virtualenv
18
19 virtualenv --system-site-packages env
20 . env/bin/activate
21 pip install -r requirements.txt
22
23 cat > mock.robot <<EOF
24 *** test cases ***
25 | Temoporary placeholder test for multilink
26 | | log | nothing here to see
27 EOF
28
29 pybot mock.robot
30
31
32 exit 0