From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 762C49177 for ; Tue, 15 Aug 2017 12:01:45 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Aug 2017 03:01:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,377,1498546800"; d="scan'208";a="1205818761" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by fmsmga002.fm.intel.com with ESMTP; 15 Aug 2017 03:01:43 -0700 From: "lu,peipei" To: dts@dpdk.org Cc: "lu,peipei" Date: Tue, 15 Aug 2017 18:02:56 +0800 Message-Id: <1502791376-74226-1-git-send-email-peipeix.lu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/pmd_bonded:fix pmd_bonded verify code 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: Tue, 15 Aug 2017 10:01:45 -0000 Signed-off-by: lu,peipei --- 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 7d80ece..868bfde 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 net_bond_testpmd_[\d] on \(port ", + bond_port = self.get_value_from_str("Created new bonded device net_bonding_testpmd_[\d] on \(port ", "\d+", out) bond_port = int(bond_port) -- 1.9.3