From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 64C3FF616 for ; Thu, 12 Jan 2017 03:10:23 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga105.jf.intel.com with ESMTP; 11 Jan 2017 18:10:22 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,347,1477983600"; d="scan'208";a="1111363970" Received: from stv-crb-56.sh.intel.com (HELO [10.239.128.116]) ([10.239.128.116]) by fmsmga002.fm.intel.com with ESMTP; 11 Jan 2017 18:10:21 -0800 Message-ID: <5876E489.7010405@intel.com> Date: Thu, 12 Jan 2017 10:06:01 +0800 From: "Liu, Yong" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Gowrishankar , "dts@dpdk.org" References: <1484135089-25484-1-git-send-email-gowrishankar.m@linux.vnet.ibm.com> In-Reply-To: <1484135089-25484-1-git-send-email-gowrishankar.m@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dts] [PATCH] tests: fix pmd_bonded for an expected string while creating bonded device X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2017 02:10:23 -0000 Thanks Gowrishankar, applied into master branch. On 01/11/2017 07:44 PM, Gowrishankar wrote: > From: Gowrishankar Muthukrishnan > > Below patch corrects the expected bond device name to match actually created > one. > > Signed-off-by: Gowrishankar Muthukrishnan > --- > tests/TestSuite_pmd_bonded.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/TestSuite_pmd_bonded.py b/tests/TestSuite_pmd_bonded.py > index 1b3f781..7d80ece 100644 > --- a/tests/TestSuite_pmd_bonded.py > +++ b/tests/TestSuite_pmd_bonded.py > @@ -454,7 +454,7 @@ UDP(sport=srcport, dport=destport)/Raw(load="\x50"*%s)], iface="%s", count=%d)' > out = self.dut.send_expect("create bonded device %d %d" % (mode, socket), "testpmd> ") > self.verify("Created new bonded device" in out, > "Create bonded device on mode [%d] socket [%d] failed" % (mode, socket)) > - bond_port = self.get_value_from_str("Created new bonded device eth_bond_testpmd_[\d] on \(port ", > + bond_port = self.get_value_from_str("Created new bonded device net_bond_testpmd_[\d] on \(port ", > "\d+", > out) > bond_port = int(bond_port)