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 4CBE729AC for ; Fri, 29 Sep 2017 04:14:35 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP; 28 Sep 2017 19:14:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,451,1500966000"; d="scan'208";a="140746345" Received: from unknown (HELO dpdk-fedora20.icx.intel.com) ([10.240.176.135]) by orsmga002.jf.intel.com with ESMTP; 28 Sep 2017 19:14:32 -0700 From: "lu,peipei" To: dts@dpdk.org Cc: "lu,peipei" Date: Fri, 29 Sep 2017 10:15:44 +0800 Message-Id: <1506651344-30968-1-git-send-email-peipeix.lu@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/short_live: filter LLDP 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: Fri, 29 Sep 2017 02:14:36 -0000 some nics send lldp,lead to the result is the lldp message,not the message want. Signed-off-by: lu,peipei --- tests/TestSuite_short_live.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_short_live.py b/tests/TestSuite_short_live.py index d153975..c8cd741 100644 --- a/tests/TestSuite_short_live.py +++ b/tests/TestSuite_short_live.py @@ -102,7 +102,7 @@ class TestShortLiveApp(TestCase): if (txPort == rxPort): count = 2 - self.tester.scapy_append('p=sniff(iface="%s",count=%d,timeout=5)' % (rxitf, count)) + self.tester.scapy_append('p=sniff(iface="%s",filter="ether[12:2]!=0x88cc",count=%d,timeout=5)' % (rxitf, count)) self.tester.scapy_append('RESULT=str(p[%d].show)' % (count-1)) self.tester.scapy_foreground() -- 1.9.3