From a39b1f20f9f675256d4e61bae0688aec961dc793 Mon Sep 17 00:00:00 2001 From: Timothy Redaelli Date: Thu, 28 Feb 2019 15:29:47 +0100 Subject: [PATCH] Fix tests on koji/mock --- openvswitch.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openvswitch.spec b/openvswitch.spec index d1194c1..1658136 100644 --- a/openvswitch.spec +++ b/openvswitch.spec @@ -424,6 +424,8 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/ovn-docker-overlay-driver \ %check %if %{with check} + touch resolv.conf + export OVS_RESOLV_CONF=$(pwd)/resolv.conf if make check TESTSUITEFLAGS='%{_smp_mflags}' || make check TESTSUITEFLAGS='--recheck' || make check TESTSUITEFLAGS='--recheck'; then :;