Merge "Fix PEP8 errors in prox_binseach"
[yardstick.git] / yardstick / benchmark / scenarios / networking / netperf_install_arm64.patch
1 diff --git a/yardstick/benchmark/scenarios/networking/netperf_install.bash b/yardstick/benchmark/scenarios/networking/netperf_install.bash
2 index 0e3808f..f9362eb 100755
3 --- a/yardstick/benchmark/scenarios/networking/netperf_install.bash
4 +++ b/yardstick/benchmark/scenarios/networking/netperf_install.bash
5 @@ -1,9 +1,9 @@
6  #!/bin/bash
7
8  ##############################################################################
9 -# Copyright (c) 2016 Huawei Technologies Co.,Ltd and others.
10 +# Copyright (c) 2017, Arm Limited. All rights reserved.
11  #
12 -# All rights reserved. This program and the accompanying materials
13 +# This program and the accompanying materials
14  # are made available under the terms of the Apache License, Version 2.0
15  # which accompanies this distribution, and is available at
16  # http://www.apache.org/licenses/LICENSE-2.0
17 @@ -19,21 +19,11 @@ then
18  fi
19
20  echo "===Install netperf before test begin!!!==="
21 -cp /etc/apt/sources.list /etc/apt/sources.list_bkp
22 -cp /etc/resolv.conf /etc/resolv.conf_bkp
23 -echo "nameserver 8.8.4.4" >> /etc/resolv.conf
24 -
25 -cat <<EOF >/etc/apt/sources.list
26 -deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
27 -deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
28 -deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
29 -deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
30 -deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
31 -EOF
32 -
33 -sudo apt-get update
34 -sudo apt-get install -y netperf
35
36 +apt-get update -y
37 +apt-get install -y wget
38 +wget http://launchpadlibrarian.net/155043952/netperf_2.6.0-2_arm64.deb
39 +dpkg -i ./netperf_2.6.0-2_arm64.deb
40  service netperf start
41
42  echo "===Install netperf before test end!!!==="