test/common: add bc to vm_setup.sh

bc is currently used in iSCSI qos.sh test, but is not listed
as a pre-requisite in vm_setup.sh
Also it's a good alternative to using sed or awk for some
simple math operations.

Change-Id: I18742c0dedcdcc5eeebd310eb5760e226a163af7
Signed-off-by: Karol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/453998
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Pawel Kaminski <pawelx.kaminski@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
This commit is contained in:
Karol Latecki 2019-05-10 15:37:50 +02:00 committed by Jim Harris
parent 49bff95f09
commit 1839045ba2

View File

@ -462,7 +462,8 @@ if $INSTALL; then
python3-pandas \
btrfs-progs \
rpm-build \
iptables
iptables \
bc
elif [ $PACKAGEMNG == 'apt-get' ]; then
echo "Package perl-open is not available at Ubuntu repositories" >&2
@ -523,7 +524,8 @@ if $INSTALL; then
sshfs \
sshpass \
python3-pandas \
btrfs-tools
btrfs-tools \
bc
# rpm-build is not used
# iptables installed by default