From 64d21769eef85e2588cbe9481a389dc4d68a3cb1 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Sun, 17 Dec 2017 13:38:39 +0100 Subject: tests/vagrant: install additional dependencies The Vagrant box that is used by ./run-tests-in-vagrant.sh does not have all recent dependencies installed. By using 'dnf builddep' to install the BuildRequires from the generated .spec file, most future problems should be prevented. The tests/basic/afr/split-brain-favorite-child-policy.t script uses the 'bc' command. This it a run-time dependency for the test, and will not be found with 'dnf builddep'. Change-Id: Ifdbfc4af2997ea27815126766cc093947ddf523f BUG: 1526780 Signed-off-by: Niels de Vos --- tests/vagrant/vagrant-template-centos6/roles/install-pkgs/tasks/main.yml | 1 + tests/vagrant/vagrant-template-fedora/roles/install-pkgs/tasks/main.yml | 1 + 2 files changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/vagrant/vagrant-template-centos6/roles/install-pkgs/tasks/main.yml b/tests/vagrant/vagrant-template-centos6/roles/install-pkgs/tasks/main.yml index 37dbc108d9f..bf3eff077b4 100644 --- a/tests/vagrant/vagrant-template-centos6/roles/install-pkgs/tasks/main.yml +++ b/tests/vagrant/vagrant-template-centos6/roles/install-pkgs/tasks/main.yml @@ -17,6 +17,7 @@ - attr - autoconf - automake + - bc - bison #- libcmocka-devel - dbench diff --git a/tests/vagrant/vagrant-template-fedora/roles/install-pkgs/tasks/main.yml b/tests/vagrant/vagrant-template-fedora/roles/install-pkgs/tasks/main.yml index 4e7d8d0d7b8..2512034cdd7 100644 --- a/tests/vagrant/vagrant-template-fedora/roles/install-pkgs/tasks/main.yml +++ b/tests/vagrant/vagrant-template-fedora/roles/install-pkgs/tasks/main.yml @@ -11,6 +11,7 @@ - attr - autoconf - automake + - bc - bison - libcmocka-devel - cifs-utils -- cgit