summaryrefslogtreecommitdiffhomepage
path: root/test/lib
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-09-01 20:06:35 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-09-01 21:41:21 +0900
commitbad9935cd2b46f0e0ea0f2e508440fa8b3e383cc (patch)
tree33041f368589313e8cdc8933772b1b8c250db211 /test/lib
parent3cc9b5b5d39b7bf923512be66228d58a80637c6d (diff)
test: stop tcpdump write buffering
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/base.py b/test/lib/base.py
index 38cac97a..5cc08c0c 100644
--- a/test/lib/base.py
+++ b/test/lib/base.py
@@ -239,7 +239,7 @@ class Container(object):
interface = "eth0"
if not filename:
filename = '{0}.dump'.format(interface)
- self.local("tcpdump -i {0} -w {1}/{2} {3}".format(interface, self.shared_volumes[0][1], filename, expr), detach=True)
+ self.local("tcpdump -U -i {0} -w {1}/{2} {3}".format(interface, self.shared_volumes[0][1], filename, expr), detach=True)
return '{0}/{1}'.format(self.shared_volumes[0][0], filename)
def stop_tcpdump(self):