From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D1E77A0613 for ; Fri, 27 Sep 2019 09:22:14 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BF8802BEA; Fri, 27 Sep 2019 09:22:14 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 01FD5DE3 for ; Fri, 27 Sep 2019 09:22:12 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Sep 2019 00:22:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,554,1559545200"; d="scan'208";a="204106431" Received: from unknown (HELO dpdk-wenjielx-dtspatch135.sh.intel.com) ([10.240.176.135]) by fmsmga001.fm.intel.com with ESMTP; 27 Sep 2019 00:22:11 -0700 From: "zhang,yan" To: dts@dpdk.org Cc: "zhang,yan" Date: Fri, 27 Sep 2019 15:26:40 +0800 Message-Id: <1569569200-139992-1-git-send-email-yanx.a.zhang@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [dts] [PATCH V1] tests/TestSuite_vm_hotplug:Optimize the 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: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Optimize the tcpdump command to improve script stability. Signed-off-by: zhang,yan --- tests/TestSuite_vm_hotplug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/TestSuite_vm_hotplug.py b/tests/TestSuite_vm_hotplug.py index 87edad6..d0c75ac 100644 --- a/tests/TestSuite_vm_hotplug.py +++ b/tests/TestSuite_vm_hotplug.py @@ -232,7 +232,7 @@ class TestVmHotplug(TestCase): def start_tcpdump(self, iface_list): for iface in iface_list: self.tester.send_expect("rm -rf tcpdump%s.out" % iface, "#") - self.tester.send_expect("tcpdump -i %s 2>tcpdump%s.out &" % (iface, iface), "#") + self.tester.send_expect("tcpdump -c 1500 -i %s -vv -n 2>tcpdump%s.out &" % (iface, iface), "#") time.sleep(1) def get_tcpdump_package(self, iface_list): -- 2.17.2