From nobody Tue Jul 15 00:56:04 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1510563063415540.8758727296974; Mon, 13 Nov 2017 00:51:03 -0800 (PST) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 74A2A5D9F8; Mon, 13 Nov 2017 08:51:01 +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 473555F900; Mon, 13 Nov 2017 08:51:01 +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 129023D38D; Mon, 13 Nov 2017 08:51:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id vAD8onbr016364 for ; Mon, 13 Nov 2017 03:50:49 -0500 Received: by smtp.corp.redhat.com (Postfix) id C599F783B6; Mon, 13 Nov 2017 08:50:49 +0000 (UTC) Received: from caroline.localdomain (unknown [10.43.2.67]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 993A578401 for ; Mon, 13 Nov 2017 08:50:47 +0000 (UTC) Received: from caroline.brq.redhat.com (caroline.brq.redhat.com [127.0.0.1]) by caroline.localdomain (Postfix) with ESMTP id EA003123A90 for ; Mon, 13 Nov 2017 09:50:41 +0100 (CET) From: Martin Kletzander To: libvir-list@redhat.com Date: Mon, 13 Nov 2017 09:50:33 +0100 Message-Id: <09739e61bca683ef086c0ee6cbc5d10a8a39b53f.1510560300.git.mkletzan@redhat.com> In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 18/21] tests: Minor adjustments for test data 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: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 13 Nov 2017 08:51:01 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 This patch modifies some not yet used test data so that the adding a test u= sing this data is a clean patch and not an addition of huge file with some adjustments in small files that will be hidden in the middle of that commit. These changes include: - Add system dir in vircaps2xmldata/linux-caches Back when data for systems with resctrl support were added they had the /sys/fs/system directory put into a system/ subdir of the test and /sys/fs/resctrl in a resctrl/ subdir of that test. However, if we also w= ant a negative test for the resctrl (requesting allocation on a system that doe= s not support resctrl), we need one a test case with any sensible (with cache i= nfo) system/ subdir and no resctrl/ one. Easiest way is to add a system=C2=A0->=C2=A0. symlink into existing test case. - Change linux-resctrl's schemata for default group That way we can fit some allocation in. - Remove one cache from resctrl-skx's schemata and make some room for allocations That system already has only one cache, so that file was wrong anyway. We have a version with 2 caches already (linux-resctrl-skx-twocaches), so th= is will also add variety to future tests. - Add some empty allocation for resctrl-skx Just to have slightly more coverage and variety. We can be sure nothing = bad happens if such allocation exists in case we have that in the tests. Signed-off-by: Martin Kletzander Reviewed-by: John Ferlan --- tests/vircaps2xmldata/linux-caches/system | 1 + tests/vircaps2xmldata/linux-resctrl-skx/resctrl/empty/schemata | 0 tests/vircaps2xmldata/linux-resctrl-skx/resctrl/schemata | 2 +- tests/vircaps2xmldata/linux-resctrl/resctrl/schemata | 2 +- 4 files changed, 3 insertions(+), 2 deletions(-) create mode 120000 tests/vircaps2xmldata/linux-caches/system create mode 100644 tests/vircaps2xmldata/linux-resctrl-skx/resctrl/empty/s= chemata diff --git a/tests/vircaps2xmldata/linux-caches/system b/tests/vircaps2xmld= ata/linux-caches/system new file mode 120000 index 000000000000..945c9b46d684 --- /dev/null +++ b/tests/vircaps2xmldata/linux-caches/system @@ -0,0 +1 @@ +. \ No newline at end of file diff --git a/tests/vircaps2xmldata/linux-resctrl-skx/resctrl/empty/schemata= b/tests/vircaps2xmldata/linux-resctrl-skx/resctrl/empty/schemata new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/tests/vircaps2xmldata/linux-resctrl-skx/resctrl/schemata b/tes= ts/vircaps2xmldata/linux-resctrl-skx/resctrl/schemata index 4a4913735386..191081f1db47 100644 --- a/tests/vircaps2xmldata/linux-resctrl-skx/resctrl/schemata +++ b/tests/vircaps2xmldata/linux-resctrl-skx/resctrl/schemata @@ -1 +1 @@ -L3:0=3D7ff;1=3D7ff +L3:0=3D0f0 diff --git a/tests/vircaps2xmldata/linux-resctrl/resctrl/schemata b/tests/v= ircaps2xmldata/linux-resctrl/resctrl/schemata index 9b47d25fc72e..c1a765f1e0a7 100644 --- a/tests/vircaps2xmldata/linux-resctrl/resctrl/schemata +++ b/tests/vircaps2xmldata/linux-resctrl/resctrl/schemata @@ -1 +1 @@ -L3:0=3D1ffff;1=3D1ffff +L3:0=3D1ff00;1=3D1ff0f --=20 2.15.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list