From nobody Sat Feb 7 15:35:12 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 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=1606904592; cv=none; d=zohomail.com; s=zohoarc; b=Eg6NQqO91Uq7+SO4nK7vzyhnw1EyuDw6vVIgXfi6slAfPx7CZ+TuCIA8BPRrFF7Bj4vp21BtyE8vvYuNAA3hss6CYjMDRdITb5/wQzsn1653oyvQ2PqJweQNaN0VvwDsVOggcZOaPASEWlDb1CGcT99VxszBrG+kG2jy/YF/OLQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1606904592; 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; bh=R/gafxbr5hzASp1JfJSSbVh7XxVQeRAa9cCqvGrZAyo=; b=Lgh1CiMg17NJzdRecmogcPHIZHg84dXFiyIuPGTQmZuXw7FVclzZgoWZsSIBTDs6B8AYLBK5XknvJXw6FaFF7sBW02I1Lgn4qM0wTAIT6eYRUU0QDQ7SLm4QIrNR+ws0InqyTj/9YD3nMS3r+qor+VuCkRSheU43GRV+A7qpqyI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1606904592360409.1603726324055; Wed, 2 Dec 2020 02:23:12 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-300-haiypN1eMvCliIUCw7IexA-1; Wed, 02 Dec 2020 05:23:08 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 722D68042C2; Wed, 2 Dec 2020 10:23:03 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 70A7160855; Wed, 2 Dec 2020 10:23:00 +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 C8F8118095FF; Wed, 2 Dec 2020 10:22:57 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0B2AMuwC011466 for ; Wed, 2 Dec 2020 05:22:56 -0500 Received: by smtp.corp.redhat.com (Postfix) id 61DCC5D72E; Wed, 2 Dec 2020 10:22:56 +0000 (UTC) Received: from domokun.gsslab.fab.redhat.com (gx270-2.gsslab.fab.redhat.com [10.33.8.41]) by smtp.corp.redhat.com (Postfix) with ESMTP id C2C165D6AC; Wed, 2 Dec 2020 10:22:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606904591; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=R/gafxbr5hzASp1JfJSSbVh7XxVQeRAa9cCqvGrZAyo=; b=YJKgXCsHfC8ur2p+7UwR2ka6kixWJFS+chXaBR74xZkEWNZi29nf2Tp9fkZYEECm6mOHLn AH72KYDpH9nKazp2ySiKn+g9XNUAqXfZPquBQ31Io9EfgLv/cbZbDKh1vBnG8Q+1Vpk/1y q6AvB7oMed+woG5hPDPWDu8MBiqNLA0= X-MC-Unique: haiypN1eMvCliIUCw7IexA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH] scripts: ignore whitespace in pdwtags output Date: Wed, 2 Dec 2020 10:22:43 +0000 Message-Id: <20201202102242.207358-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) The pdwtags program changed its whitespace formatting for enum values in release 1.19: @@ -145,22 +145,22 @@ u_int flags; }; enum admin_procedure { - ADMIN_PROC_CONNECT_OPEN =3D 1, - ADMIN_PROC_CONNECT_CLOSE =3D 2, - ADMIN_PROC_CONNECT_GET_LIB_VERSION =3D 3, - ADMIN_PROC_CONNECT_LIST_SERVERS =3D 4, - ADMIN_PROC_CONNECT_LOOKUP_SERVER =3D 5, + ADMIN_PROC_CONNECT_OPEN =3D 1, + ADMIN_PROC_CONNECT_CLOSE =3D 2, + ADMIN_PROC_CONNECT_GET_LIB_VERSION =3D 3, + ADMIN_PROC_CONNECT_LIST_SERVERS =3D 4, + ADMIN_PROC_CONNECT_LOOKUP_SERVER =3D 5, Workaround this by telling diff to ignore whitespace changes. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: J=C3=A1n Tomko --- scripts/check-remote-protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check-remote-protocol.py b/scripts/check-remote-protoc= ol.py index cd96e894a7..40c4b481be 100644 --- a/scripts/check-remote-protocol.py +++ b/scripts/check-remote-protocol.py @@ -121,7 +121,7 @@ if n < 1: print("WARNING: install dwarves-1.3 or newer", file=3Dsys.stderr) sys.exit(8) =20 -diff =3D subprocess.Popen(["diff", "-u", expected, "-"], stdin=3Dsubproces= s.PIPE) +diff =3D subprocess.Popen(["diff", "-b", "-u", expected, "-"], stdin=3Dsub= process.PIPE) actualstr =3D "\n".join(actual) + "\n" # i686 builds on x86_64 host add __attribute__(packed)) to # the structs. This doesn't matter functionally because we --=20 2.25.4