From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 86AFAA0547; Mon, 19 Jul 2021 13:04:45 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 546C84014E; Mon, 19 Jul 2021 13:04:45 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 3BA174003E for ; Mon, 19 Jul 2021 13:04:43 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10049"; a="198235699" X-IronPort-AV: E=Sophos;i="5.84,252,1620716400"; d="scan'208";a="198235699" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jul 2021 04:04:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,252,1620716400"; d="scan'208";a="430743939" Received: from silpixa00400220.ir.intel.com ([10.237.214.119]) by fmsmga007.fm.intel.com with ESMTP; 19 Jul 2021 04:04:39 -0700 From: Reshma Pattan To: dts@dpdk.org Cc: Anatoly Burakov , Reshma Pattan Date: Mon, 19 Jul 2021 19:04:36 +0800 Message-Id: <1626692676-70669-1-git-send-email-reshma.pattan@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH] tests: fix string to match DPDK output X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" From: Anatoly Burakov The TestSuite_power_pbf.py is failing due to change in the DPDK vm_power_mgmt application output, so change test case to adopt the new o/p. Signed-off-by: Anatoly Burakov Signed-off-by: Reshma Pattan --- tests/TestSuite_power_pbf.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/TestSuite_power_pbf.py b/tests/TestSuite_power_pbf.py index c3e2075..083fd5b 100644 --- a/tests/TestSuite_power_pbf.py +++ b/tests/TestSuite_power_pbf.py @@ -174,7 +174,7 @@ class TestPowerPbf(TestCase): cmd = [' '.join([self.vm_power_mgr, option]), prompt, 30] output = self.d_con(cmd) self.is_mgr_on = True - + return output def close_vm_power_mgr(self): @@ -361,11 +361,11 @@ class TestPowerPbf(TestCase): def parse_vm_power_cores_freq(self, output): ''' get vm power management cores frequency ''' pat_begin = ( - 'POWER: power_set_governor_performance: Power management ' + 'POWER: power_set_governor: Power management ' 'governor of lcore (\\d+) is already performance') pat_begin2 = ( - 'Power management governor of lcore (\d+) ' - 'has been set to performance successfully') + "Power management governor of lcore (\d+) " + "has been set to 'performance' successfully") pat_end = \ 'POWER: Initialized successfully for lcore (\\d+) power management' pat_freq = ( -- 1.8.3.1