* [dts] [PATCH V1] tests/TestSuite_vm_hotplug:Optimize the tcpdump command
@ 2019-09-27 7:26 zhang,yan
2019-09-27 7:52 ` Yao, BingX Y
2019-10-12 5:56 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: zhang,yan @ 2019-09-27 7:26 UTC (permalink / raw)
To: dts; +Cc: zhang,yan
Optimize the tcpdump command to improve script stability.
Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
---
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_vm_hotplug:Optimize the tcpdump command
2019-09-27 7:26 [dts] [PATCH V1] tests/TestSuite_vm_hotplug:Optimize the tcpdump command zhang,yan
@ 2019-09-27 7:52 ` Yao, BingX Y
2019-10-12 5:56 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Yao, BingX Y @ 2019-09-27 7:52 UTC (permalink / raw)
To: dts; +Cc: Zhang, YanX A
[-- Attachment #1: Type: text/plain, Size: 1222 bytes --]
Tested-by: Yao, BingX Y <bingx.y.yao@intel.com>
-----Original Message-----
From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan
Sent: Friday, September 27, 2019 3:27 PM
To: dts@dpdk.org
Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
Subject: [dts] [PATCH V1] tests/TestSuite_vm_hotplug:Optimize the tcpdump command
Optimize the tcpdump command to improve script stability.
Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
---
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
[-- Attachment #2: TestVmHotplug.log --]
[-- Type: application/octet-stream, Size: 893190 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/TestSuite_vm_hotplug:Optimize the tcpdump command
2019-09-27 7:26 [dts] [PATCH V1] tests/TestSuite_vm_hotplug:Optimize the tcpdump command zhang,yan
2019-09-27 7:52 ` Yao, BingX Y
@ 2019-10-12 5:56 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-10-12 5:56 UTC (permalink / raw)
To: Zhang, YanX A, dts; +Cc: Zhang, YanX A
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhang,yan
> Sent: Friday, September 27, 2019 3:27 PM
> To: dts@dpdk.org
> Cc: Zhang, YanX A <yanx.a.zhang@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_vm_hotplug:Optimize the tcpdump
> command
>
> Optimize the tcpdump command to improve script stability.
>
> Signed-off-by: zhang,yan <yanx.a.zhang@intel.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-10-12 5:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-27 7:26 [dts] [PATCH V1] tests/TestSuite_vm_hotplug:Optimize the tcpdump command zhang,yan
2019-09-27 7:52 ` Yao, BingX Y
2019-10-12 5:56 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).