mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
test: stop tcpdump write buffering
Signed-off-by: FUJITA Tomonori <[email protected]>
This commit is contained in:
+1
-1
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user