From nobody Mon Feb 9 09:47:20 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.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 170.10.129.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=1692867474; cv=none; d=zohomail.com; s=zohoarc; b=mtCgQrJ/qY1ZZHOnsxEQiHc1niRIZy5LN3ryr1IPH3Fq33IDOYCB5+X5qjLLgGZOLbF58YpG1/PPvacbaDfX0VGWxfDMw35rVpfG/sh4pLKyHxJHb3O/D+tsidoP3UA25h7C3ZKRxpS325eEyYgl+Zi+/TXjuQaBt2QbR3/cgAE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1692867474; 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=SabIyr+GiEaq2hePVsOgV+cvX80DTfxTARzC+SaTOfM=; b=Q309n4Qsw5YWtnzsJqjYoiuae08GU91WSzU2/DxWzmhp7tnfxIP3aEyk09lDigGUGe15phNnC9TbMk7Zz0O9kYWelBhCq4NvVHreuoC73J+8+pU9zXLwmoH6pc4UNwjjoJcLVN07fcOLvA/vIftxJRBrGQf4WEXdDcHLTib6UCQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1692867474870208.3298002545347; Thu, 24 Aug 2023 01:57:54 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-241-vaUX34P2NlmZjbjFcvAoRw-1; Thu, 24 Aug 2023 04:57:48 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EF9AD85CBE9; Thu, 24 Aug 2023 08:57:44 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id D804C2026D68; Thu, 24 Aug 2023 08:57:44 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 97301194658D; Thu, 24 Aug 2023 08:57:44 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 2D2731946589 for ; Thu, 24 Aug 2023 08:57:43 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 1D5271121314; Thu, 24 Aug 2023 08:57:43 +0000 (UTC) Received: from localhost.localdomain (unknown [10.43.2.56]) by smtp.corp.redhat.com (Postfix) with ESMTP id B8C1A1121315 for ; Thu, 24 Aug 2023 08:57:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1692867473; 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=SabIyr+GiEaq2hePVsOgV+cvX80DTfxTARzC+SaTOfM=; b=H3UmKMRTusYubKLVfP72UK6YKyINlnnRvmDfaM8hZ1KFNfb1I16ubFD9Cqj9gwz0qiyPe5 o7ML0lEXYJOC40QV+iftEJ1aIjlXPoRqOnHkNdNtlVoJdAsuM3c2XP7zPfgzLBP2/f7xWV pFx1k9c5gGbf2Cb7JOHnDILq+VgUv44= X-MC-Unique: vaUX34P2NlmZjbjFcvAoRw-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 1/6] nodedevmdevctltest: Rename mdevctl-list-empty test case Date: Thu, 24 Aug 2023 10:57:35 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1692867476989100009 Content-Type: text/plain; charset="utf-8"; x-default="true" The mdevctl-list-empty test case is there to test whether an empty JSON array "[]" is handled correctly by mdevctl handling code. Well, mdevctl can output both, an empty JSON array or no output at all. Therefore, rename "mdevctl-list-empty" test case to "mdevctl-list-empty-array" which is more descriptive and also frees up slot for actual empty output (handled in next commits). Signed-off-by: Michal Privoznik --- .../{mdevctl-list-empty.json =3D> mdevctl-list-empty-array.json} | 0 ...vctl-list-empty.out.xml =3D> mdevctl-list-empty-array.out.xml} | 0 tests/nodedevmdevctltest.c | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename tests/nodedevmdevctldata/{mdevctl-list-empty.json =3D> mdevctl-list= -empty-array.json} (100%) rename tests/nodedevmdevctldata/{mdevctl-list-empty.out.xml =3D> mdevctl-l= ist-empty-array.out.xml} (100%) diff --git a/tests/nodedevmdevctldata/mdevctl-list-empty.json b/tests/noded= evmdevctldata/mdevctl-list-empty-array.json similarity index 100% rename from tests/nodedevmdevctldata/mdevctl-list-empty.json rename to tests/nodedevmdevctldata/mdevctl-list-empty-array.json diff --git a/tests/nodedevmdevctldata/mdevctl-list-empty.out.xml b/tests/no= dedevmdevctldata/mdevctl-list-empty-array.out.xml similarity index 100% rename from tests/nodedevmdevctldata/mdevctl-list-empty.out.xml rename to tests/nodedevmdevctldata/mdevctl-list-empty-array.out.xml diff --git a/tests/nodedevmdevctltest.c b/tests/nodedevmdevctltest.c index 4dc524b5a5..c04b05c417 100644 --- a/tests/nodedevmdevctltest.c +++ b/tests/nodedevmdevctltest.c @@ -470,7 +470,7 @@ mymain(void) =20 DO_TEST_LIST_DEFINED(); =20 - DO_TEST_PARSE_JSON("mdevctl-list-empty"); + DO_TEST_PARSE_JSON("mdevctl-list-empty-array"); DO_TEST_PARSE_JSON("mdevctl-list-multiple"); =20 DO_TEST_DEFINE("mdev_d069d019_36ea_4111_8f0a_8c9a70e21366"); --=20 2.41.0