From nobody Fri Dec 12 12:54:57 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1765369050; cv=none; d=zohomail.com; s=zohoarc; b=djXcmu+qtCJ8fck7SqYSI0fb+553ljxyt/EJKo8bBIS43z8RQMP3aIuJCul5QOLCBX1NTpXAdqA8wDjRTzwyqj+NVuIF45DOT8Oowdo2Xuo/vf+e0WyacA/+ZJwLKfjuwvT5Cl2fSou0XyY2aBO25zHWISH/2MATr6UkXligbYY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1765369050; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Subject:Subject:To:To:Message-Id:Cc; bh=HJdVOvByabTMF63wTwcNWimsAwv2f+FBgIgXpGhyLtc=; b=ElNmd8YRDsfBvf0fCRpHfenq0uJe5+oVBVTDxShAW/4TJRZ2OOWi6JCFKxnmY69G/TjQOphrzdcrvB/nIBCP+/VqUWvPprNQ906orkGNEeeP/hKP6AElAXVt3lg1AqF4s4dvGQw0lXgLpSdVJQqN3AyvmlAqO3VnR0hIzcyo8D0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 176536905081077.7601938430696; Wed, 10 Dec 2025 04:17:30 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id CDBC33FD0B; Wed, 10 Dec 2025 07:17:21 -0500 (EST) Received: from [172.19.199.80] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 37CD343E52; Wed, 10 Dec 2025 07:16:26 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id B0A0641BA4; Wed, 10 Dec 2025 07:12:33 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 3A55E41B8E for ; Wed, 10 Dec 2025 07:12:32 -0500 (EST) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-644-nyofdm1SO5-mCtDCubeBhg-1; Wed, 10 Dec 2025 07:12:30 -0500 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id EEA4E1956080 for ; Wed, 10 Dec 2025 12:12:29 +0000 (UTC) Received: from orkuz (unknown [10.44.33.57]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 51E0F180049F for ; Wed, 10 Dec 2025 12:12:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_SBL_CSS, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=no autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1765368751; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HJdVOvByabTMF63wTwcNWimsAwv2f+FBgIgXpGhyLtc=; b=dR1GI/E0Zsj1vp7hR329TdMaTFeuGsDJKTIZVMD8XtqqCxstudstmgMe5b5kV+9eLHcNxq rOvTwrBgofwopKH947MEgggtFLGk4M9I+GlgMNqhSVcWvMT/dLmgtYakJVE/Ozjb7nW2u0 y6swHa9NDB9G6RiqPZnreWLBjT391YE= X-MC-Unique: nyofdm1SO5-mCtDCubeBhg-1 X-Mimecast-MFC-AGG-ID: nyofdm1SO5-mCtDCubeBhg_1765368750 To: devel@lists.libvirt.org Subject: [PATCH] virfiletest: Fix build on non-Linux Date: Wed, 10 Dec 2025 13:12:26 +0100 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 4EdNYeFEGWzStZisfy9XuJDgiow1fABpdd9yr1DrNEg_1765368750 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 2KGZ56TLPBZ4NSPRN4CDO42ZEOEUEDNJ X-Message-ID-Hash: 2KGZ56TLPBZ4NSPRN4CDO42ZEOEUEDNJ X-MailFrom: jdenemar@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Jiri Denemark via Devel Reply-To: Jiri Denemark X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1765369052265158500 Content-Type: text/plain; charset="utf-8" From: Jiri Denemark Fixes: 121d179e068b584f62ea2c029d89a44e67c909c0 Signed-off-by: Jiri Denemark --- tests/virfiletest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/virfiletest.c b/tests/virfiletest.c index ccd76a3fac..3f179a3f74 100644 --- a/tests/virfiletest.c +++ b/tests/virfiletest.c @@ -329,6 +329,7 @@ testFileIsSharedFSType(const void *opaque G_GNUC_UNUSED) } =20 =20 +#ifdef __linux__ static const char *shared_filesystems[] =3D { "/run/user/501/gvfs", "/nfs", @@ -338,6 +339,7 @@ static const char *shared_filesystems[] =3D { "/quobyte", NULL, }; +#endif =20 static int testFileIsSharedFSOverride(const void *opaque G_GNUC_UNUSED) --=20 2.52.0