From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0041.outbound.protection.outlook.com [104.47.34.41]) by dpdk.org (Postfix) with ESMTP id 092D72A6C for ; Thu, 6 Apr 2017 19:51:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=UTGCZDYYDTKsxBy8oGobt6LqaXd2sTvx6FWGElu0rrw=; b=DFHHFuAMuQGqwqRmUZn4dUuLsO1Dju2oHC1DCOaO2pC8+uBev/BGCxKgUYh9KBBLWncFztqiTjt3GwnKIbP+2z8y8pg4Uva+gZb4BFHw4t8xV8ypl+hrgR56IiVOcdWfWK49x62AVOWkj9FOd9lVJWfBwnNCw+PrtLevZkvm5fU= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from angela-H81M-S1.semihalf.local (31.172.191.173) by DM2PR0701MB810.namprd07.prod.outlook.com (10.242.127.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Thu, 6 Apr 2017 17:51:52 +0000 From: Angela Czubak To: dts@dpdk.org Cc: Angela Czubak Date: Thu, 6 Apr 2017 19:51:13 +0200 Message-Id: <1491501092-14278-8-git-send-email-aczubak@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1491501092-14278-1-git-send-email-aczubak@caviumnetworks.com> References: <1491501092-14278-1-git-send-email-aczubak@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [31.172.191.173] X-ClientProxiedBy: AM5PR0701CA0051.eurprd07.prod.outlook.com (10.169.145.141) To DM2PR0701MB810.namprd07.prod.outlook.com (10.242.127.24) X-MS-Office365-Filtering-Correlation-Id: d626b22e-dea9-49a2-ece8-08d47d159bbf X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:DM2PR0701MB810; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 3:kF2ZueQdA7nqY+CONj6drSvKYI6rOpEEAWAm48zwW/zGhekAEZfheutmSDnXXiLDEtCBe0grtnsKSeAh5UADKxp93kQxstF5dpoBLLn4Or8LdkhhpQ6PN1WWXls8F6H+xo6lVjueM9mSt7UUGN/3uRM7PKSBt9X2ejXbnAh1Z7oxMcikfIfb9VgBm2E6u+nNawmt9w63NuUS/OE7nVWLlos5UshalU7V9XUHounYlFQx+PACQ58Zl5d3otkBL29y3Zy8gDwpUz3LT1n4bxjuiTEjX2F7Z65DIprNDZK2wG47YDS/Mif9xxtkDftDb8uTG2p8JRN1d9aTQLZFsmTIQw==; 25:XFLtjFsmxOZWQ/dKJYEQBOLLbFUXAyG4FIEYsr05eUElrhMW+nWFCjpUkx/5Qx00OnuvXCKCDgzIpx5vPHWgv/8tdddKY5htlkk2+VqNe7/UvSKVQb90lassqt8bYRSJ+Pgt6TBT1O5QZDHp1bYzsjuyeAkbUjap7e94tjD4P/ooWhLAI6TEGFL9vHxpy3cGv1NiNff6kIzAQ6CC64ht85THumOCvXUvPnGzZ443mohKCJyU6Zvjci8HwnEV8NXW2fvFQUhdFKrzVUs6jMZAgOn/yp/xJ+zxA6gZB/W5L+dGA3bH9Vd88YrvgnoicFUtTQn9/5I4dVRGn6vhOagfPFeVWFxiNe5L/O6Ar0ePfmsVpZCxDqm5cPXtwUvkCICwnnuU1GC14KHTj8flNNVhWxA7RMUoclxDXhbjGVSTtoQQAqjWxFoOVu8c7yKBmnTyMVMu3wm2LUS+IqnmhtVOtQ== X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 31:ApkOmkTriuYVBg5PLcSifSxIg6MpD5UCI620LjejQax3T2/FZzbZOqoeIs282AqV66i2TGtp8eVaVJPGLZga2KUqb+E62+strEm0naRsV7mcHRRjFzNIrAEwLFeUhFxy6Hh1bgcI/mxqsQUiU+D5Z0/PRKg8D757Vnyrdm1GSeBsSf82Br1cJeSvp2EEMCgiU+QvXbNeWtjGa0wpjdPwXx78v/k94uR+Hv8OBoMShwU=; 20:H12IJA6mFGG3vCq9TapRz660cGZs9irERsyqkdgPx5k7c0e2KgNHx7w5/xHPkH+XM6oZEgb/H8x4fNWp6NmwYPrxfzDlaXpJJUERW8jnw1kHA6/csj+ROB+rhYGyrNB0qTU6D5afcbRVAp9gVg7YLv+xDw7t3FLeXgJRMvUDMwTSlM4KwQZIB42YvSiaE0yTUw8T2zrCoYCH0nhxDngxgsjmrzSSsXMjxbwmqNp6Rf2QWcgH9FE4GhopLx2KIOE87A3YYeW4eTF2s+cJBObedFtUyhORuekM5QyvfmGNm5brN7XO5xDh0LtQc1U51QzRDOQ+E6CLhzAqJs+T1ktS7ggFX4NKSoZG8D/39aMfy+8AhFVKD61cWSg9L9+6SNFHLVNXWLnIWZYxNBxu29FtizGt88NC5sgtLZkogXtAVy1iAmejPUbRUFRh9clLsm/xPJQYL24D0qyHYmuQ7gHN1juMwMJ3eE21MBSsXRj3uhqLl1bjOS2enEQmT4LN9npGEFw/pH86BsKetHzkVl5YGz8yFitm9XH61gkELVTPrK+NQ40MQM6zKvbCWJy7Mb4lh6/mbvdOlbgHSXo5sMjy/NtMgY0HXsB5Oy0AdV8vWQs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3002001)(6041248)(20161123555025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(20161123562025)(6072148); SRVR:DM2PR0701MB810; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0701MB810; X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 4:xYy2npagqnNLOsRLDVGJ3JsVhNBnHSAEB/KfX867T2uvGqL+sCwRTq4blfJjssOA2hzYKRcJmHzuU5x638XlTAslE2Z31Qdx3Li0z45Rub43cUdLIbezOVXOHbvUx/VTj2g1jeftIs7jUVAdbQ3W7jVehp47Q6iVa3UaajrX+f6S1X52tBSIADPKraqExArumTFhI2meDh2ALDykncA6RgTfwTwTZNKyoSiF6KudD87jpz27o/No7hOg7I4flqr5XVTRUUBXDwR3NGmJM1KIvjfS/OJK9PfBn8L3PdwMjSf0TJpEB3cCsmHCpPJn1LeJIqYW/JRzFZTH502fec3RzfLRtieGzLu+vZqMsaGgtCHrmBRmNpdvk8u9SMgssANtIL0zVJA8CsG+6DZBa3uy+KKz1tbpY36wq4FTmMSXVVCczkQt7MdwMXICZr/cQFMcFa8h5pzih4yvoYKIUdVaYe7pHWDDXhwDR9SHJfj6jgCmNZStzZRnX9O3qbkYKHnvBg53wOZLQtSftqJc1RVULTTjvHWwujFD12SDcrLrRKygoClsZdnckJmtmdOC9naOzO2y83bEIAno1iOdrU9ZF9QwWkHCAtpaXTBsj47PuGOzeiE/VV0oBbEnvQ5udD69VLKDZ9TrzToQhMeZZFsCB/gG4Vqu/mneiIT2Q+TlVjHKA0emFEFFBB2cOvuqRwVd X-Forefront-PRVS: 02698DF457 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39830400002)(39450400003)(39400400002)(39410400002)(3846002)(50226002)(6116002)(47776003)(33646002)(6506006)(189998001)(6486002)(48376002)(50466002)(36756003)(66066001)(8676002)(5003940100001)(2361001)(42882006)(110136004)(107886003)(38730400002)(76176999)(25786009)(2351001)(575784001)(6666003)(81166006)(42186005)(50986999)(6916009)(6512007)(7736002)(53936002)(4326008)(5660300001)(305945005)(2950100002)(2906002)(19627235001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0701MB810; H:angela-H81M-S1.semihalf.local; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?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qnA6W6u5x2PzsUe?= =?us-ascii?Q?lD22Es/X7L6K5qVgb/W+0sydyzaFdJI376rIW5ra5+kMgTxAKMisgw55PyMn?= =?us-ascii?Q?K8uqf8ZqhKgDrE2yS6j7Q27qkb/jHdID1RU9/fLXTBzQdengWjhRXwLkSAKS?= =?us-ascii?Q?WVeApf6KdF/+DQszHwnUhr6t3MNAH1DHa/ldeEyx1xkiEjIiTUl6qAbMRXrN?= =?us-ascii?Q?1xlxFwbTHSnie97BqRsEaKT75xVp?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 6:qTJ/LNe3b/aFoWrSCy4Xlxc+wTkfw7NhKN3/PKiuuvm4AaVUeqhkERTLM3WsJ7hICWbQQt0f6gyo0UNnOriUPbgcLjoygRGknr2FGmI7t/x6OIUd2UExYPk9Ai2BylZjlhxa3pdVF+U2BAyuDe4oQPEyvRCwEGvkKf2TnZM7NkgffyqI1gsiK/w/c0zgnMtutgwwjws/PwfcsE2Od6Q+AzXQST6rMf4VdgPLv18bg1NAYpCTJomZXfTrfDlcxnmKAUBlCKbBluNldSsD+yXGiSqsEjgmlOu2yctuVxEFfTb88Mcr/zWz9yQkA0dW1oStdn9MjcDeXFRvN3abkmrucKlih/mZY+VBN8HIdkwf9JSoCneZAtvvsWzvDlAoUXm2L7Su/eJe2ffKeNTg/znVSw==; 5:79uztd2kM+mjXNV7C2uCnvQOw3tLFryMkRejRCkx2FwoJv6fBT45io04sl/aSKiYpLjvoi85Z1fFvgf3IPkUGOWH9EDjVa3E934JjVS26UO/UEtI92Q81DyR5IxKoTzen63n32LtKFrFePhicwb2fg==; 24:pOTEewPrTHKnY5wyR7ZgX02vdpTRDX39t23UsLs7wg5oxEtAsJkb/bRByXHSpAIWmQYjqY+wg/kLFNXSaLOMTkw6VrrsuYMiDQoE4n3qacU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM2PR0701MB810; 7:eAyqSSlUDhqev2SgixK8uebQ96dj3NcRCWzKG34SGu+m9Yot9BJj8JdS5agaeL82h+pmKxIhh7NRdgC6DkZuMvXKlTyhSdn6Vi4a02WZLoj2gNrB1zAwybte32ygI+fkDUjjGzxkVTsBb6AN1md1okaqUBr+FpawIGCmOkBVB9La8ADhhwCQKqs278mhEiT12fLYQHGBDmf+B8/VMMveooc+U50lbFKbFW74iY2K/FWlwjOU6NddgHIDmwtrkBIxK4PbcPc62UQa0tg2+YGyaOiCT1D9aH9UVGlV6DhD0p9mQWDHOK1kubKopdM37M6l27ksRdStDKpguK3JovLCIg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Apr 2017 17:51:52.1109 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0701MB810 Subject: [dts] [PATCH 07/26] tests: ipv4_reassembly - added splitting result in tcpdump_command 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, 06 Apr 2017 17:51:54 -0000 Result from tcpdump_command may contain something more than only number, added splitting and taking first element of this operation so that casting to int proceeds Signed-off-by: Angela Czubak --- tests/TestSuite_ipv4_reassembly.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_ipv4_reassembly.py b/tests/TestSuite_ipv4_reassembly.py index 3f0e725..8f28823 100644 --- a/tests/TestSuite_ipv4_reassembly.py +++ b/tests/TestSuite_ipv4_reassembly.py @@ -257,7 +257,7 @@ class TestIpReassembly(TestCase): """ result = self.tester.send_expect(command, '#') - return int(result.strip()) + return int(result.strip().split()[0]) def number_of_received_packets(self, tcp_port): """ -- 2.7.4