From e4f2c62126923b728477eef92398abb690b50873 Mon Sep 17 00:00:00 2001 From: Daniele Di Proietto Date: Thu, 4 Aug 2016 10:23:08 -0700 Subject: system-userspace-macros: Check the exit code of ethtool. If the ethtool command is not available on the system we should fail, since the userspace testsuite cannot work properly without disabling offloads. Also, add ethtool to the list of installed packages on Vagrantfile, to ensure that offloads don't cause test failures in the vagrant VM when the kernel is updated. Fixes: ddcf96d2dcc1 ("system-tests: Disable offloads in userspace tests.") Reported-by: Joe Stringer Signed-off-by: Daniele Di Proietto Acked-by: Joe Stringer --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Vagrantfile') diff --git a/Vagrantfile b/Vagrantfile index fb06b42ff..843d88c9c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -11,7 +11,7 @@ dnf -y install autoconf automake openssl-devel libtool \ python-twisted-core python-zope-interface \ desktop-file-utils groff graphviz rpmdevtools nc \ wget python-six pyftpdlib checkpolicy selinux-policy-devel \ - libcap-ng-devel kernel-devel-`uname -r` + libcap-ng-devel kernel-devel-`uname -r` ethtool echo "search extra update built-in" >/etc/depmod.d/search_path.conf cd /vagrant ./boot.sh -- cgit v1.2.1