From nobody Wed May 8 23:40:43 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1554902120; cv=none; d=zoho.com; s=zohoarc; b=NI4/AkCDApmnJC26574NKNvtO0ATBIBuWti2Dh4fQLCErlDlCclRosirK5h7g7BMDXeDxG7Gf2DfgGscd2xfZSMioO51qGy6oKVOYtPnMV6LYLePovDEMqs8T66sMg3ULz4qsxsDpju1CQo/ssD3etGAOTtzN1jX8LGaa2sr4GU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1554902120; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=XSXHhm91PheL4NngKhKExg3jIc3aF4wZ52YFlb8Ri6c=; b=bjWjzdSlosO8Rl6qsXpQf3lZWqcBDJxn7j5EHLqusrWDwziujhPvh0kn7jV+C9LxO8Lm6eTvlUqeawb4y0guZTIvk5RfOUshgTh8swpZ3fd67R+7xgzShsPw7tSbhAdtzQ76DsOz7ce/kbylgWsTX9bp8GG1dCvUTabiIeUQsBU= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1554902120088990.3576601205172; Wed, 10 Apr 2019 06:15:20 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 63E073076C7D; Wed, 10 Apr 2019 13:15:17 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 69A9D5D965; Wed, 10 Apr 2019 13:15:15 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 5BD9BADA89; Wed, 10 Apr 2019 13:15:11 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x3ADCNne002883 for ; Wed, 10 Apr 2019 09:12:23 -0400 Received: by smtp.corp.redhat.com (Postfix) id 1E0CE107302B; Wed, 10 Apr 2019 13:12:23 +0000 (UTC) Received: from moe.brq.redhat.com (unknown [10.43.2.30]) by smtp.corp.redhat.com (Postfix) with ESMTP id 996B8104C425 for ; Wed, 10 Apr 2019 13:12:20 +0000 (UTC) From: Michal Privoznik To: libvir-list@redhat.com Date: Wed, 10 Apr 2019 15:12:18 +0200 Message-Id: <0a1b572c0fb4ba710061f071e4316a76eb0ec1bd.1554901879.git.mprivozn@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH] domaincapstest: Call virFileWrapperClearPrefixes only on non-WIN32 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.48]); Wed, 10 Apr 2019 13:15:18 +0000 (UTC) Content-Type: text/plain; charset="utf-8" The virFileWrapperClearPrefixes() function is defined only when building for non-WIN32. Signed-off-by: Michal Privoznik Reviewed-by: Daniel P. Berrang=C3=A9 --- Technically a build breaker fix, but I can't decide if ifdef is better or removing the call is better. tests/domaincapstest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/domaincapstest.c b/tests/domaincapstest.c index 3ee95a4b58..92676bdd6e 100644 --- a/tests/domaincapstest.c +++ b/tests/domaincapstest.c @@ -476,7 +476,9 @@ mymain(void) DO_TEST_BHYVE("fbuf", "/usr/sbin/bhyve", &bhyve_caps, VIR_DOMAIN_VIRT_= BHYVE); #endif /* WITH_BHYVE */ =20 +#ifndef WIN32 virFileWrapperClearPrefixes(); +#endif /* WIN32 */ =20 return ret; } --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list