From nobody Sun Feb 8 10:30:22 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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=1594894332; cv=none; d=zohomail.com; s=zohoarc; b=JslCf60aIhlJw3FxPk36e7jIbSR0/f+yFFperx+VfUpjmnkF1Sg1z6aLNNclPC+InArW3zNVKlK7bMAhYFzja8Sk/HmuzsGVb5xMzgH+Wut85nWqwWjoPSOntogvl2eLVS99rZ/chvO4N8l+ouDUQuw+hDgZuMQCF/Y4hPUtuHk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894332; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=PNZFo01XL4e4weaVcV7B/Fje6YmrufJusaaAscJ1U0w=; b=nPpG5UJpJxXoMLZq7+9vXZypwRhW7fse3Mhm0JGK38FvweOoVL5wgpusWWyNZ8amNQNQWi4+vvkZDseOmk6CIGh4bumowgWyy4mtYlM4jVAs0oZD4e7RQjM8KSVPsOmj3MMHqV7MfwU98Tl6ZEnUB/7YrF+syqPRdqRdPnAq47I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by mx.zohomail.com with SMTPS id 1594894332913538.3100422849647; Thu, 16 Jul 2020 03:12:12 -0700 (PDT) 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-419-L-leZplEPl6qM_yRH_gUcg-1; Thu, 16 Jul 2020 06:10:11 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1087B80BCAD; Thu, 16 Jul 2020 10:10:06 +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 E544E6FED1; Thu, 16 Jul 2020 10:10:05 +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 AEAC8A36EF; Thu, 16 Jul 2020 10:10:05 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06GA64f0019264 for ; Thu, 16 Jul 2020 06:06:04 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6B82A2B6DC; Thu, 16 Jul 2020 10:06:04 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id DA04F2B6DB for ; Thu, 16 Jul 2020 10:06:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894331; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=PNZFo01XL4e4weaVcV7B/Fje6YmrufJusaaAscJ1U0w=; b=f32DSeU+dtq0pbjV0enIC8jMixIMMWe4jF/c3Xou8npUhq+1Xo+b+JAoGplFOvGR2yknk2 tML32PCAA1qY84gJ6jEPlCunGdoBhqK8w1y4uZqv8tTQzSZ2lurUWtAlwlx7u6R68r8bdu eTVDnZZKJ0lNJ3ueDzZo8CMkijyDfJA= X-MC-Unique: L-leZplEPl6qM_yRH_gUcg-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 245/351] meson: src/access: add check-aclperms test Date: Thu, 16 Jul 2020 11:58:01 +0200 Message-Id: <575082be211632e9fe0d46a2fd75b8cc8983cddf.1594891445.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina --- src/Makefile.am | 7 +------ src/access/meson.build | 7 +++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 3b5195f2266..d697114d7e8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -86,13 +86,8 @@ else !WITH_REMOTE check-protocol: endif !WITH_REMOTE =20 -check-aclperms: - $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/check-aclperms.py \ - $(srcdir)/access/viraccessperm.h \ - $(srcdir)/access/viraccessperm.c - check-local: check-protocol \ - check-aclperms check-admin + check-admin .PHONY: check-protocol $(PROTOCOL_STRUCTS:structs=3Dstruct) =20 =20 diff --git a/src/access/meson.build b/src/access/meson.build index 2d8a2a90716..beb61eddaf5 100644 --- a/src/access/meson.build +++ b/src/access/meson.build @@ -112,3 +112,10 @@ access_dep =3D declare_dependency( ) =20 generated_sym_files +=3D access_gen_sym + +test( + 'check-aclperms', + python3_prog, + args: [ check_aclperms_prog.path(), access_perm_h, files('viraccessperm.= c') ], + env: runutf8, +) --=20 2.26.2