From 2f86e8e5364339b539313931d7faaf9f9c3896a4 Mon Sep 17 00:00:00 2001 From: marvinYu Date: Thu, 19 Mar 2020 22:16:30 +0800 Subject: Updating multus, SRIOV and nfd test cases Updating some AddOn test cases and add README.md file. Issue-ID: MULTICLOUD-1037 Signed-off-by: marvinYu Change-Id: Iee2c31207cf2cd37fb8119bceef286aa887079f9 --- kud/tests/_common_test.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kud/tests/_common_test.sh') diff --git a/kud/tests/_common_test.sh b/kud/tests/_common_test.sh index 1c6af678..32781e18 100755 --- a/kud/tests/_common_test.sh +++ b/kud/tests/_common_test.sh @@ -22,6 +22,16 @@ function install_deps { fi } +# install_ipcalc() - Install ipcalc for tests +function install_ipcalc { + if ! $(ipcalc --version &>/dev/null); then + function ipcalc_ubuntu_deps { + sudo apt-get install -y ipcalc + } + install_packages "" ipcalc_ubuntu_deps "" + fi +} + # install_ovn_deps() - Install dependencies required for tests that require OVN function install_ovn_deps { if ! $(yq --version &>/dev/null); then -- cgit 1.2.3-korg