From nobody Sun Feb 8 14:51:45 2026 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; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1564308319; cv=none; d=zoho.com; s=zohoarc; b=I3MKkvT635RhVvUpnBU7AEcjsBP8wkP5imG49kIvzR8RSzduaq4OaG06VItiTju/1za1twYBUZPr98gtCBD1Fmo+ApPVVhxu08Oqj+DejdY9Op3Z0z1sJHRBXKsn3hvAyhkt5cDhIoC1C8TJyO/0W+xfHGKVQButgsDOeIDyll0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1564308319; 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:ARC-Authentication-Results; bh=LGiH4cTLggaiJhu1NsHNUESYJ5ULye6FGE3i+xjoqLM=; b=HuFEL09JrXst8Dv+TU7jSOdiQEsK+1a5g2qvZ2XGzKTQoDCOB7VfH08Mh7DhpStNyI+tDA4ejij4BfuwJlox2fQVf/MuXGw88aK3P3GNA1gsE9L6xmQ7znXpd+8XXQTiCNrEgwwV02KMG2DQlirYT1sI/nI06WRYlqMIkPDl5ZA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1564308319150962.5130183588274; Sun, 28 Jul 2019 03:05:19 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 9B5B783F3E; Sun, 28 Jul 2019 10:05:17 +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 699C0600C0; Sun, 28 Jul 2019 10:05:17 +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 29C3341F53; Sun, 28 Jul 2019 10:05:17 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x6SA2i64028656 for ; Sun, 28 Jul 2019 06:02:44 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5B79360C44; Sun, 28 Jul 2019 10:02:44 +0000 (UTC) Received: from mx1.redhat.com (ext-mx09.extmail.prod.ext.phx2.redhat.com [10.5.110.38]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5687160BF1 for ; Sun, 28 Jul 2019 10:02:44 +0000 (UTC) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 26D0F335C2 for ; Sun, 28 Jul 2019 10:02:43 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id g67so46879900wme.1 for ; Sun, 28 Jul 2019 03:02:43 -0700 (PDT) Received: from archpc.localdomain (x8d1ee222.agdsn.tu-dresden.de. [141.30.226.34]) by smtp.gmail.com with ESMTPSA id g11sm58261923wru.24.2019.07.28.03.02.40 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sun, 28 Jul 2019 03:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=Hyv2J4nYtiHOAqlCftBjBJrDx8zvTB/b3r73hcLR/wg=; b=FkFQodNQwdYpsBbCSsZYHmn8m40l4e2MQIGEFVC/S69l1T0vw0op/O8V/YeZTlYU/o AvNLKqOFN9fP8b1pYubBwodwZ8oqr8vCkd46fsFiLCccFCrTqsDv8HQFjenoFjtNOXUr O+G+gXVrJgHQ3QYgsclkJ2X2Mc3NpYNFcsbmZ+gDZdbDdVK/2VMBJI4uC0YWGalGRiiw fNJzd7/eXZ5K+UPZya/5iEOzPD+Lmp2/2pjwqIVyZY8oGyZe7ihNhfJutDK96xN3652O JSey6qznp+GGcq3tDYPn4wRX23i9X6/z41dwcpKIJIFUOo9eSuhkr1lVfF95To3AJkd5 4yXg== 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=Hyv2J4nYtiHOAqlCftBjBJrDx8zvTB/b3r73hcLR/wg=; b=nMoHcmCRFAvBpwe5/xdRMDGB7Zd8lw6Jei4BunhcUdEARfYxaPsHeFx7i99vMmhJaG BQT+fot+XByRJcgShpk4AcnrQ7tBYw1n/N278qIU7naF+YJAPSf6+yduBlP2ZQJj7wWA 05TwgldxcB6VV0udX5dzTDcNKq+Hava++lrM7X+JylxVE8l3Zj0aganNxVx1+EpRlpBc mJlRssVscB1qWdKr9VHV+rmMtToJawoaPImcKYMmjdX6M4E4qSoJny3FcYDzDHD5gBlH FU2RA6i8qy4rrVYAi0PfeSGPBi/k4a6k+vcNNuJHfQx3EmbWnu2EQpuT5DguC2Jdf6y1 X2Uw== X-Gm-Message-State: APjAAAXEK3b6JiObk4NZrxtm1rkKf3BJ3tBfkJ2uhfUYHWeg4OS+WM3F XF1oWDCSii5kamoAM0n59gA5dxsrDmfJOg== X-Google-Smtp-Source: APXvYqxxOyn+73FNhCI031a96zrskD/lZ9NFHIbJBn1oshaFYbHGhXUAOSewCpLntstUiaXiVbFuLQ== X-Received: by 2002:a1c:c78d:: with SMTP id x135mr87060935wmf.82.1564308161459; Sun, 28 Jul 2019 03:02:41 -0700 (PDT) From: Ilias Stamatis To: libvir-list@redhat.com Date: Sun, 28 Jul 2019 12:02:20 +0200 Message-Id: <20190728100221.2253-2-stamatis.iliass@gmail.com> In-Reply-To: <20190728100221.2253-1-stamatis.iliass@gmail.com> References: <20190728100221.2253-1-stamatis.iliass@gmail.com> MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Sun, 28 Jul 2019 10:02:43 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Sun, 28 Jul 2019 10:02:43 +0000 (UTC) for IP:'209.85.128.66' DOMAIN:'mail-wm1-f66.google.com' HELO:'mail-wm1-f66.google.com' FROM:'stamatis.iliass@gmail.com' RCPT:'' X-RedHat-Spam-Score: -0.099 (DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS) 209.85.128.66 mail-wm1-f66.google.com 209.85.128.66 mail-wm1-f66.google.com X-Scanned-By: MIMEDefang 2.78 on 10.5.110.38 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH v2 1/2] tests: virsh-optparse: remove no longer valid cpu-stats test cases 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-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.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sun, 28 Jul 2019 10:05:18 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" These test cases are no longer valid since this series provides an implementation of the virDomainGetCPUStats API for the test driver. Signed-off-by: Ilias Stamatis Reviewed-by: Erik Skultety --- tests/virsh-optparse | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/tests/virsh-optparse b/tests/virsh-optparse index 090d6c205c..d9c8f3c731 100755 --- a/tests/virsh-optparse +++ b/tests/virsh-optparse @@ -179,26 +179,6 @@ virsh -q -c $test_url cpu-stats test --start -1 >out 2= >err && fail=3D1 test -s out && fail=3D1 compare exp-err err || fail=3D1 -# Zero. The test driver doesn't support the operation so the command -# fails, but the value has been parsed correctly -cat <<\EOF > exp-err || framework_failure -error: Failed to retrieve CPU statistics for domain 'test' -error: this function is not supported by the connection driver: virDomainG= etCPUStats -EOF -virsh -q -c $test_url cpu-stats test --start 0 >out 2>err && fail=3D1 -test -s out && fail=3D1 -compare exp-err err || fail=3D1 - -# Valid numeric value. The test driver doesn't support the operation -# so the command fails, but the value has been parsed correctly -cat <<\EOF > exp-err || framework_failure -error: Failed to retrieve CPU statistics for domain 'test' -error: this function is not supported by the connection driver: virDomainG= etCPUStats -EOF -virsh -q -c $test_url cpu-stats test --start 42 >out 2>err && fail=3D1 -test -s out && fail=3D1 -compare exp-err err || fail=3D1 - ### Test a scaled numeric option # Non-numeric value -- 2.22.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list