From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 3A25FC3B2 for ; Mon, 3 Aug 2015 10:25:33 +0200 (CEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP; 03 Aug 2015 01:25:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,600,1432623600"; d="scan'208";a="618120704" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by orsmga003.jf.intel.com with ESMTP; 03 Aug 2015 01:25:31 -0700 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id t738PTNR003448; Mon, 3 Aug 2015 16:25:29 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id t738PQ6V022907; Mon, 3 Aug 2015 16:25:28 +0800 Received: (from huilongx@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id t738PQ3M022903; Mon, 3 Aug 2015 16:25:26 +0800 From: "huilong,xu" To: dts@dpdk.org Date: Mon, 3 Aug 2015 16:25:25 +0800 Message-Id: <1438590325-22872-1-git-send-email-huilongx.xu@intel.com> X-Mailer: git-send-email 1.7.4.1 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=20vlan=20strip=20off/on=20faied=20case?= 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: Mon, 03 Aug 2015 08:25:33 -0000 From: huilong xu Signed-off-by: huilong xu --- tests/TestSuite_vlan.py | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/TestSuite_vlan.py b/tests/TestSuite_vlan.py index 318b3ca..9a03600 100644 --- a/tests/TestSuite_vlan.py +++ b/tests/TestSuite_vlan.py @@ -207,11 +207,8 @@ class TestVlan(TestCase): out = self.get_tcpdump_package() self.verify("vlan %d" % self.vlan in out, "Wrong vlan: " + out) - if self.nic in ["fortville_eagle", "fortville_spirit", "fortville_spirit_single", "redrockcanyou"]: - self.dut.send_expect("tx_vlan reset %s" % dutTxPortId, "testpmd> ", 30) - self.dut.send_expect("stop", "testpmd> ", 30) - else: - self.dut.send_expect("quit", "# ", 30) + self.dut.send_expect("tx_vlan reset %s" % dutTxPortId, "testpmd> ", 30) + self.dut.send_expect("stop", "testpmd> ", 30) def tear_down(self): """ -- 1.7.4.4