From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 100C5376C for ; Wed, 16 Sep 2015 12:25:57 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 16 Sep 2015 03:25:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,538,1437462000"; d="scan'208";a="790523071" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.238.55.12]) by fmsmga001.fm.intel.com with ESMTP; 16 Sep 2015 03:25:24 -0700 From: changru To: dts@dpdk.org Date: Wed, 16 Sep 2015 18:21:08 +0800 Message-Id: <1442398868-41215-1-git-send-email-changrux.fan@intel.com> X-Mailer: git-send-email 1.9.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dts] =?UTF-8?q?=5B=91dts=92=5D=20Fix=20reconfigure=5Fports=20failed=20issue?= 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: Wed, 16 Sep 2015 10:25:58 -0000 Signed-off-by: changru --- tests/TestSuite_shutdown_api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TestSuite_shutdown_api.py b/tests/TestSuite_shutdown_api.py index 92ab67f..1661eea 100644 --- a/tests/TestSuite_shutdown_api.py +++ b/tests/TestSuite_shutdown_api.py @@ -152,6 +152,9 @@ class TestShutdownApi(TestCase): "powerville", "springville", "hartwell"]: self.verify(p1rx_bytes - 4 == pktSize, "Wrong RX bytes CRC strip: p1_rx=%d, pktSize=%d" % (p1rx_bytes, pktSize)) + elif self.nic in ["powerville", "springville", "kawela_4"]: + self.verify(p1rx_bytes == pktSize, + "Wrong RX bytes CRC strip: p1_rx=%d, pktSize=%d" % (p1rx_bytes, pktSize)) else: self.verify(p1rx_bytes == pktSize - 4, "Wrong RX bytes CRC strip: p1_rx=%d, pktSize=%d" % (p1rx_bytes, pktSize)) -- 2.1.0