From nobody Mon Feb 9 13:36:51 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1624532435195173.77087272449307; Thu, 24 Jun 2021 04:00:35 -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-578--bum2o3ZMKuE59I4LTvOug-1; Thu, 24 Jun 2021 07:00:31 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 98431802C88; Thu, 24 Jun 2021 11:00:25 +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 6AE0E1A875; Thu, 24 Jun 2021 11:00:25 +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 E32281809CB3; Thu, 24 Jun 2021 11:00:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 15OB0Mc1002303 for ; Thu, 24 Jun 2021 07:00:23 -0400 Received: by smtp.corp.redhat.com (Postfix) id CC7981031F4C; Thu, 24 Jun 2021 11:00:22 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C84A61031F33 for ; Thu, 24 Jun 2021 11:00:20 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 07C24108C0E2 for ; Thu, 24 Jun 2021 11:00:20 +0000 (UTC) Received: from mail-pg1-f181.google.com (mail-pg1-f181.google.com [209.85.215.181]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-176-idGBd8CxOo-dYrNcDkhA7A-1; Thu, 24 Jun 2021 07:00:17 -0400 Received: by mail-pg1-f181.google.com with SMTP id h4so4420273pgp.5 for ; Thu, 24 Jun 2021 04:00:17 -0700 (PDT) Received: from localhost ([103.138.53.229]) by smtp.gmail.com with ESMTPSA id c18sm2526054pfo.143.2021.06.24.04.00.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 04:00:16 -0700 (PDT) X-MC-Unique: -bum2o3ZMKuE59I4LTvOug-1 X-MC-Unique: idGBd8CxOo-dYrNcDkhA7A-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=r/JeqxPyFBiTetC7vGd/OwvPGYKhkMAYoPcXEJiaApM=; b=aWapzS+81Le+ZDnPFj6+8Lxn5o0SpqDNmvEmvPGNvgHqf6gj7WhlInJi8MiDRULkrN BxHDqhe7ayKw2g2awq+OcbJ7cY7dVWBsr2whVF2pbWQsvnU3p7PDoRCMVCRAf/4GvFHd AqXeOmsd6Dmx4VfksGmnq3UXkI139CETar1mW6EA1d8fjJB7tvFZ+lDaLgKUlDsEQYB/ IayhgmldeDezCH/acXKCB7I9d8tG6Oz7kkRUH9xym5JtGeqI5WagnLX2kCFZ1E5UXfFv xg9YFvKlpOvXklc63dfqpqCVfsJoF4u7VdKymjo1n6xhbTMpeWaNcSFQHKkn1DU4Gtgp 2D4w== X-Gm-Message-State: AOAM53118QYGWSWnE7do/9zCm9/0FZMQetChdTgeBHsBvCMc/1tnwkJS 68WxdjeIeRvBNNaEd2nroUklAbr6RvgTL2Wx5efnqw== X-Google-Smtp-Source: ABdhPJx2U1DGC9WxqpVCl3jRejeKRYS0n7chPKbCwh+MC62zLCWlun0dnbUrPGTqJyNAdvZy1cdKnw== X-Received: by 2002:a62:a102:0:b029:2f4:a8e:cc44 with SMTP id b2-20020a62a1020000b02902f40a8ecc44mr4593749pff.38.1624532416501; Thu, 24 Jun 2021 04:00:16 -0700 (PDT) From: Luke Yue To: libvir-list@redhat.com Subject: [PATCH v2 3/3] tests: Add messages for virshtest Date: Thu, 24 Jun 2021 19:00:01 +0800 Message-Id: <20210624110001.358076-4-lukedyue@gmail.com> In-Reply-To: <20210624110001.358076-1-lukedyue@gmail.com> References: <20210624110001.358076-1-lukedyue@gmail.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 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.84 on 10.5.11.23 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" As we introduced testDomainObjCheckTaint for test driver, the `dominfo` command in virshtest will now print tainting messages, so add them for test. Signed-off-by: Luke Yue --- tests/virshtest.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/virshtest.c b/tests/virshtest.c index c1974c46cb..937448cefc 100644 --- a/tests/virshtest.c +++ b/tests/virshtest.c @@ -22,6 +22,7 @@ main(void) =20 # define DOM_UUID "ef861801-45b9-11cb-88e3-afbfe5370493" # define SECURITY_LABEL "libvirt-test (enforcing)" +# define MESSAGES "tainted: network configuration using opaque shell scrip= ts" =20 static const char *dominfo_fc4 =3D "\ Id: 2\n\ @@ -38,6 +39,7 @@ Managed save: no\n\ Security model: testSecurity\n\ Security DOI: \n\ Security label: " SECURITY_LABEL "\n\ +Messages: " MESSAGES "\n\ \n"; static const char *domuuid_fc4 =3D DOM_UUID "\n\n"; static const char *domid_fc4 =3D "2\n\n"; --=20 2.32.0